changeset 2101:df8249aa4901

* b2m.c (main): Don't exit upon reading a blank line.
author Jim Blandy <jimb@redhat.com>
date Thu, 11 Mar 1993 06:59:53 +0000
parents 4c081de167f4
children b11495a4ecdf
files lib-src/b2m.c
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/b2m.c	Thu Mar 11 06:58:58 1993 +0000
+++ b/lib-src/b2m.c	Thu Mar 11 06:59:53 1993 +0000
@@ -36,8 +36,9 @@
 long ltoday;
 char from[256], labels[256], data[256], *p, *today;
 
-main(argc, argv)
-char **argv;
+main (argc, argv)
+     int argc;
+     char **argv;
 {
   ltoday = time(0);
   today = ctime(&ltoday);
@@ -54,8 +55,13 @@
     puts(data);
 
   while (gets(data)) {
+
+#if 0
+    /* What was this for?  Does somebody have something against blank
+       lines?  */
     if (!strcmp(data, ""))
       exit(0);
+#endif
 
     if (!strcmp(data, "*** EOOH ***") && !printing) {
       printing = header = TRUE;