summaryrefslogtreecommitdiff
path: root/lib-src/b2m.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-03-11 06:59:53 +0000
committerJim Blandy <jimb@redhat.com>1993-03-11 06:59:53 +0000
commit01e7371219e676151079897d7aaf28d4b584af7a (patch)
tree212770b419d1c0353199e4684d318cc1ba434b35 /lib-src/b2m.c
parentd9e159f6131ecd4367dcfe1daad70adc4de57a79 (diff)
downloademacs-01e7371219e676151079897d7aaf28d4b584af7a.tar.gz
* b2m.c (main): Don't exit upon reading a blank line.
Diffstat (limited to 'lib-src/b2m.c')
-rw-r--r--lib-src/b2m.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib-src/b2m.c b/lib-src/b2m.c
index 5ae81949aed..d455de25f8e 100644
--- a/lib-src/b2m.c
+++ b/lib-src/b2m.c
@@ -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;