]> diplodocus.org Git - nmh/blobdiff - uip/sortm.c
content_error(): Add missing va_end(3).
[nmh] / uip / sortm.c
index 3ebb53257cb389fd06442c5b0991e4480c4e26a5..7e966db6f3b7fe6f1d73011ad73f5a14d4c4bdcc 100644 (file)
@@ -43,7 +43,7 @@ struct smsg {
 static struct smsg *smsgs;
 int nmsgs;
 
-char *subjsort = (char *) 0;    /* sort on subject if != 0 */
+char *subjsort;                 /* sort on subject if != 0 */
 time_t datelimit = 0;
 int submajor = 0;              /* if true, sort on subject-major */
 int verbose;
@@ -167,10 +167,9 @@ 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);
+            app_msgarg(&msgs, cp);
     }
 
     if (!context_find ("path"))