projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New routine that provides interface to external programs.
[mmh]
/
sbr
/
fmt_addr.c
diff --git
a/sbr/fmt_addr.c
b/sbr/fmt_addr.c
index
782eb0a
..
2e4bff6
100644
(file)
--- a/
sbr/fmt_addr.c
+++ b/
sbr/fmt_addr.c
@@
-3,6
+3,10
@@
* fmt_addr.c -- format an address field (from fmt_scan)
*
* $Id$
* fmt_addr.c -- format an address field (from fmt_scan)
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
*/
#include <h/mh.h>
@@
-82,7
+86,7
@@
formataddr (char *orig, char *str)
}
/* concatenate all the new addresses onto 'buf' */
}
/* concatenate all the new addresses onto 'buf' */
- for (isgroup = 0; cp = getname (str); ) {
+ for (isgroup = 0; (cp = getname (str)); ) {
if ((mp = getm (cp, NULL, 0, fmt_norm, NULL)) == NULL)
continue;
if ((mp = getm (cp, NULL, 0, fmt_norm, NULL)) == NULL)
continue;