]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_addr.c
Added const to last argument of trace_cb signature, it'll be
[nmh] / sbr / fmt_addr.c
index be9b48390b02bf9abb51a772d2ee63acbc547f6d..07c0cecfdf16213513409119d7d48ed9e5d6a458 100644 (file)
@@ -82,7 +82,7 @@ formataddr (char *orig, char *str)
 
     /* concatenate all the new addresses onto 'buf' */
     for (isgroup = 0; (cp = getname (str)); ) {
-       if ((mp = getm (cp, NULL, 0, fmt_norm, NULL)) == NULL)
+       if ((mp = getm (cp, NULL, 0, NULL, 0)) == NULL)
            continue;
 
        if (isgroup && (mp->m_gname || !mp->m_ingrp)) {
@@ -112,3 +112,8 @@ formataddr (char *orig, char *str)
     last_dst = dst;
     return (buf);
 }
+
+char *concataddr (char *orig, char *str)
+{
+    return formataddr(orig, str);
+}