]> code.delx.au - gnu-emacs/commitdiff
* b2m.c (main): Don't exit upon reading a blank line.
authorJim Blandy <jimb@redhat.com>
Thu, 11 Mar 1993 06:59:53 +0000 (06:59 +0000)
committerJim Blandy <jimb@redhat.com>
Thu, 11 Mar 1993 06:59:53 +0000 (06:59 +0000)
lib-src/b2m.c

index 5ae81949aed87112bfdbe7d5901f1c1aa43abbac..d455de25f8e9fe38ae62b01d1599b6e730e0ffcb 100644 (file)
@@ -36,8 +36,9 @@ int header = FALSE, printing;
 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 @@ char **argv;
     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;