]> diplodocus.org Git - nmh/commitdiff
Put, rather than print, single characters.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 23:02:14 +0000 (00:02 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 23:02:14 +0000 (00:02 +0100)
uip/folder.c

index 85e0c53..505e3d3 100644 (file)
@@ -313,7 +313,7 @@ main (int argc, char **argv)
                printf (" %s", *ap);
            free (dp);
        }
-       printf ("\n");
+       putchar('\n');
 
        if (!printsw)
            done (0);
@@ -591,7 +591,7 @@ print_folders (void)
      */
     if (ftotal > 0 || (all && !fshort && ftotal >= 0)) {
        if (all)
-           printf ("\n");
+           putchar('\n');
        printf ("TOTAL = %d message%c in %d folder%s.\n",
                total_msgs, total_msgs != 1 ? 's' : ' ',
                total_folders, total_folders != 1 ? "s" : "");