]> diplodocus.org Git - nmh/blobdiff - uip/fmttest.c
mhbuildsbr.c: Ensure temporary FILE closed regardless of success.
[nmh] / uip / fmttest.c
index 83e5c26d99c6b79e8b9152bcb9e2fef2c6439299..d5d47318a1bb0737e2b4502827d108bd3acde0d5 100644 (file)
@@ -270,8 +270,7 @@ main (int argc, char **argv)
        if (mode == MESSAGE && !files && (*cp == '+' || *cp == '@')) {
            if (folder)
                adios (NULL, "only one folder at a time!");
-           else
-               folder = pluspath (cp);
+            folder = pluspath (cp);
        } else
            app_msgarg(&msgs, cp);
     }
@@ -336,7 +335,7 @@ main (int argc, char **argv)
      */
 
     if (dupaddrs == 0 || trace) {
-       memset(&cb, 0, sizeof(cb));
+       ZERO(&cb);
        cbp = &cb;
 
        if (dupaddrs == 0) {