From 042202c1724851bc94e1972cf436a88e8aadac79 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 20 Jun 2002 05:50:38 +0000 Subject: Drop back to initial state if we came from eof state. 2002-06-19 Not Zed * camel-mime-parser.c (folder_scan_drop_step): Drop back to initial state if we came from eof state. svn path=/trunk/; revision=17245 --- camel/camel-mime-parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'camel/camel-mime-parser.c') diff --git a/camel/camel-mime-parser.c b/camel/camel-mime-parser.c index 2bfe4e5322..1cf38e7f1a 100644 --- a/camel/camel-mime-parser.c +++ b/camel/camel-mime-parser.c @@ -1833,8 +1833,9 @@ static void folder_scan_drop_step(struct _header_scan_state *s) { switch (s->state) { - case HSCAN_INITIAL: case HSCAN_EOF: + s->state = HSCAN_INITIAL; + case HSCAN_INITIAL: return; case HSCAN_FROM: -- cgit