]> diplodocus.org Git - nmh/blobdiff - uip/sortm.c
Cleaned up uip/mhmail. Added chmod +x of spost in configure.ac.
[nmh] / uip / sortm.c
index d2486eef5d06d7ff4a9f30897eabc24b6053849e..45e2b292fea355c434f209e333323d272e7204ea 100644 (file)
@@ -221,9 +221,10 @@ main (int argc, char **argv)
 
     if (verbose) {     /* announce what we're doing */
        if (subjsort)
-           printf ("sorting by %s-major %s-minor\n",
-               submajor ? subjsort : datesw,
-               submajor ? datesw : subjsort);
+           if (submajor)
+               printf ("sorting by %s\n", subjsort);
+           else
+               printf ("sorting by %s-major %s-minor\n", subjsort, datesw);
        else
            printf ("sorting by datefield %s\n", datesw);
     }