]> diplodocus.org Git - nmh/blobdiff - sbr/print_help.c
Fix invalid pointer arithmetic.
[nmh] / sbr / print_help.c
index 7e8c824598d27735285014ccd55dfca8944c88a4..2aafe06e8abe9ee85004d3e795b61927b82c1905 100644 (file)
@@ -1,5 +1,4 @@
-/*
- * print_help.c -- print a help message, and possibly the
+/* print_help.c -- print a help message, and possibly the
  *              -- profile/context entries for this command
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
@@ -31,8 +30,8 @@ print_help (char *str, struct swit *swp, int print_context)
 
     /* and for further info */
     putchar('\n');
-    print_intro (stdout, TRUE);
-    puts ("\nSee the BUGS section of the nmh(7) man page for more information.");
+    print_intro (stdout, true);
+    puts ("\nSee the BUGS section of nmh(7) for more information.");
 }
 
 
@@ -65,7 +64,7 @@ static const char nmh_intro3[] = \
 "at http://www.nongnu.org/nmh/ .\n";
 
 void
-print_intro (FILE *file, int brief) {
+print_intro (FILE *file, bool brief) {
     fputs (nmh_intro1, file);
     if (! brief) {
         fputs (nmh_intro2, file);