]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_addr.c
Fix invalid pointer arithmetic.
[nmh] / sbr / fmt_addr.c
index 41a760abc86d030ef09e630e4aee81282d8a3591..2c7b58e423579c442e4a5ef9058adf54b6254aa3 100644 (file)
@@ -1,5 +1,4 @@
-/*
- * fmt_addr.c -- format an address field (from fmt_scan)
+/* fmt_addr.c -- format an address field (from fmt_scan)
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -109,7 +108,7 @@ formataddr (char *orig, char *str)
 
     *dst = '\0';
     last_dst = dst;
-    return (buf);
+    return buf;
 }
 
 char *concataddr (char *orig, char *str)