X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a5a1425258ffb1f72e853b6adc6ff0ae58c636bd..623ae60ba9a0b24a7c28e7150a0e4b8e6a21b5fc:/uip/folder.c?ds=inline diff --git a/uip/folder.c b/uip/folder.c index 423ef7b3..10c9290a 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -118,7 +118,7 @@ main (int argc, char **argv) * If program was invoked with name ending * in `s', then add switch `-all'. */ - all = HasSuffixC(argv[0], 's'); + all = has_suffix_c(argv[0], 's'); arguments = getarguments (invo_name, argc, argv, 1); argp = arguments; @@ -306,7 +306,7 @@ main (int argc, char **argv) /* Listing the folder stack */ if (listsw) { - printf ("%s", argfolder ? argfolder : getfolder (1)); + fputs(argfolder ? argfolder : getfolder (1), stdout); if ((cp = context_find (stack))) { dp = mh_xstrdup(cp); for (ap = brkstring (dp, " ", "\n"); *ap; ap++) @@ -546,7 +546,7 @@ print_folders (void) if (all || fshort || ftotal < 1) { for (i = 0; i < total_folders; i++) { if (fshort) { - printf ("%s\n", fi[i].name); + puts(fi[i].name); continue; }