X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0509728c8a506f287fa3483d8e8ffaf8fb66d41d..f0ac374d1388505a6c9d3af6424cc504f5a2b8af:/uip/burst.c diff --git a/uip/burst.c b/uip/burst.c index de762e99..f188bf1f 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -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); } @@ -293,8 +292,7 @@ find_delim (int msgnum, struct smsg *smsgs, int *mimesw) for (c = 0; fgets (buffer, sizeof(buffer), in); c = buffer[0]) { if ((wasdlm = CHECKDELIM(buffer))) break; - else - pos += (long) strlen (buffer); + pos += (long) strlen (buffer); } /*