]> diplodocus.org Git - nmh/blobdiff - uip/burst.c
mhbuildsbr.c: Don't free(3) string then print it; do reverse.
[nmh] / uip / burst.c
index e5020cfd342e8b8cfe2afd72efd5a0187cc20a45..f188bf1f870f7db24ca88287154a2c9b89b24bea 100644 (file)
@@ -133,8 +133,7 @@ main (int argc, char **argv)
        if (*cp == '+' || *cp == '@') {
            if (folder)
                adios (NULL, "only one folder at a time!");
-           else
-               folder = pluspath (cp);
+            folder = pluspath (cp);
        } else {
            app_msgarg(&msgs, cp);
        }
@@ -249,9 +248,9 @@ find_delim (int msgnum, struct smsg *smsgs, int *mimesw)
            msgp = 1;
            find_mime_parts(content, smsgs, &msgp);
            free_content(content);
-           if (msgp == 1 && *mimesw == 2) {
+           if (msgp == 1 && *mimesw == 2)
                adios (msgnam, "does not have any message/rfc822 parts");
-           } else if (msgp > 1) {
+           if (msgp > 1) {
                *mimesw = 1;
                return (msgp - 1);
            }