(read_header): Give fatal error if input has no header.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2006-04-29 Richard Stallman <rms@gnu.org>
|
||||
|
||||
* fakemail.c (read_header): Give fatal error if input has no header.
|
||||
|
||||
2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* b2m.c (main): Don't include <limits.h>.
|
||||
|
||||
@@ -694,6 +694,8 @@ read_header ()
|
||||
|
||||
} while (true);
|
||||
|
||||
if (! the_header)
|
||||
fatal ("input message has no header");
|
||||
return the_header->next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user