projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee86a1
)
donote() previously was written such that it could return garbage.
author
Dan Harkless
<dan@harkless.org>
Fri, 16 Jul 1999 01:03:34 +0000
(
01:03
+0000)
committer
Dan Harkless
<dan@harkless.org>
Fri, 16 Jul 1999 01:03:34 +0000
(
01:03
+0000)
uip/msgchk.c
patch
|
blob
|
history
diff --git
a/uip/msgchk.c
b/uip/msgchk.c
index
65fed7e
..
a063049
100644
(file)
--- 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. */
}