donote() previously was written such that it could return garbage.
authorDan Harkless <dan@harkless.org>
Fri, 16 Jul 1999 01:03:34 +0000 (01:03 +0000)
committerDan Harkless <dan@harkless.org>
Fri, 16 Jul 1999 01:03:34 +0000 (01:03 +0000)
uip/msgchk.c

index 65fed7e..a063049 100644 (file)
@@ -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. */
 }