summaryrefslogtreecommitdiff
path: root/lib-src
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
commit5d13f393f9e41852fcdf144ad65ffb3c819a4b1d (patch)
tree99c1c260252e1342138ddada01175394359f383c /lib-src
parent3647c1717f3d2c4db874257768edc8bee341ac4a (diff)
downloademacs-5d13f393f9e41852fcdf144ad65ffb3c819a4b1d.tar.gz
* b2m.c (main): Don't exit upon reading a blank line.
Diffstat (limited to 'lib-src')
-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;