changeset 70278:8e7233f487a3

(read_header): Give fatal error if input has no header.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 Apr 2006 18:52:19 +0000
parents 0cb35141fd5b
children 5eacff09a43d
files lib-src/fakemail.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/fakemail.c	Sat Apr 29 15:58:42 2006 +0000
+++ b/lib-src/fakemail.c	Sat Apr 29 18:52:19 2006 +0000
@@ -694,6 +694,8 @@
 
     } while (true);
 
+  if (! the_header)
+    fatal ("input message has no header");
   return the_header->next;
 }