From: Dan Harkless Date: Fri, 16 Jul 1999 01:03:34 +0000 (+0000) Subject: donote() previously was written such that it could return garbage. X-Git-Tag: nmh-1_0~164 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=8f8d299c72fdf8105947681d459dde45eda94e9d;p=mmh donote() previously was written such that it could return garbage. --- diff --git a/uip/msgchk.c b/uip/msgchk.c index 65fed7e..a063049 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -283,7 +283,7 @@ main (int argc, char **argv) } /* host == NULL */ #endif - done (status); + return done (status); } @@ -315,6 +315,8 @@ donote (char *cp, int ntflag) case NNMAISW: return NT_NMAI; } + + return 0; /* Before 1999-07-15, garbage was returned if control got here. */ }