From 8f8d299c72fdf8105947681d459dde45eda94e9d Mon Sep 17 00:00:00 2001 From: Dan Harkless Date: Fri, 16 Jul 1999 01:03:34 +0000 Subject: [PATCH] donote() previously was written such that it could return garbage. --- uip/msgchk.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. */ } -- 1.7.10.4