X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d4700e9d89995a338a134ed8fdb77ba26b6038d5..c83acac4bb6fe61e1e0f4b8e4b2e4a0d2f00b416:/uip/mhlistsbr.c diff --git a/uip/mhlistsbr.c b/uip/mhlistsbr.c index 309357b1..452c7fd4 100644 --- a/uip/mhlistsbr.c +++ b/uip/mhlistsbr.c @@ -1,6 +1,4 @@ - -/* - * mhlistsbr.c -- routines to list information about the +/* mhlistsbr.c -- routines to list information about the * -- contents of MIME messages * * This code is Copyright (c) 2002, by the authors of nmh. See the @@ -10,7 +8,6 @@ #include #include -#include #include #include #include @@ -18,7 +15,7 @@ #include /* mhmisc.c */ -int part_ok (CT, int); +int part_ok (CT); int type_ok (CT, int); void flush_errors (void); @@ -202,7 +199,7 @@ list_content (CT ct, int toplevel, int realsize, int verbose, int debug, free (dp); } - printf ("\n"); + putchar('\n'); if (verbose) { CI ci = &ct->c_ctinfo; @@ -343,7 +340,7 @@ list_multi (CT ct, int toplevel, int realsize, int verbose, int debug, for (part = m->mp_parts; part; part = part->mp_next) { CT p = part->mp_part; - if (part_ok (p, 1) && type_ok (p, 1)) + if (part_ok (p) && type_ok (p, 1)) list_switch (p, 0, realsize, verbose, debug, dispo); } @@ -366,7 +363,7 @@ list_partial (CT ct, int toplevel, int realsize, int verbose, int debug, printf ("\t [message %s, part %d", p->pm_partid, p->pm_partno); if (p->pm_maxno) printf (" of %d", p->pm_maxno); - printf ("]\n"); + puts("]"); } return OK; @@ -412,7 +409,7 @@ list_external (CT ct, int toplevel, int realsize, int verbose, int debug, printf ("\t permission=\"%s\"\n", e->eb_permission); if (e->eb_flags == NOTOK) - printf ("\t [service unavailable]\n"); + puts("\t [service unavailable]"); }