diff options
| author | Jim Blandy | 1993-03-11 06:59:53 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-03-11 06:59:53 +0000 |
| commit | 5d13f393f9e41852fcdf144ad65ffb3c819a4b1d (patch) | |
| tree | 99c1c260252e1342138ddada01175394359f383c | |
| parent | 3647c1717f3d2c4db874257768edc8bee341ac4a (diff) | |
| download | emacs-5d13f393f9e41852fcdf144ad65ffb3c819a4b1d.tar.gz emacs-5d13f393f9e41852fcdf144ad65ffb3c819a4b1d.zip | |
* b2m.c (main): Don't exit upon reading a blank line.
| -rw-r--r-- | lib-src/b2m.c | 10 |
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; | |||
| 36 | long ltoday; | 36 | long ltoday; |
| 37 | char from[256], labels[256], data[256], *p, *today; | 37 | char from[256], labels[256], data[256], *p, *today; |
| 38 | 38 | ||
| 39 | main(argc, argv) | 39 | main (argc, argv) |
| 40 | char **argv; | 40 | int argc; |
| 41 | char **argv; | ||
| 41 | { | 42 | { |
| 42 | ltoday = time(0); | 43 | ltoday = time(0); |
| 43 | today = ctime(<oday); | 44 | today = ctime(<oday); |
| @@ -54,8 +55,13 @@ char **argv; | |||
| 54 | puts(data); | 55 | puts(data); |
| 55 | 56 | ||
| 56 | while (gets(data)) { | 57 | while (gets(data)) { |
| 58 | |||
| 59 | #if 0 | ||
| 60 | /* What was this for? Does somebody have something against blank | ||
| 61 | lines? */ | ||
| 57 | if (!strcmp(data, "")) | 62 | if (!strcmp(data, "")) |
| 58 | exit(0); | 63 | exit(0); |
| 64 | #endif | ||
| 59 | 65 | ||
| 60 | if (!strcmp(data, "*** EOOH ***") && !printing) { | 66 | if (!strcmp(data, "*** EOOH ***") && !printing) { |
| 61 | printing = header = TRUE; | 67 | printing = header = TRUE; |