Add/update copyright notice in all source code files.
[mmh] / sbr / fmt_addr.c
index 782eb0a..2e4bff6 100644 (file)
@@ -3,6 +3,10 @@
  * 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>
@@ -82,7 +86,7 @@ formataddr (char *orig, char *str)
     }
 
     /* 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;