aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-parser.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d7f49a760b..6b027bd8fe 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-19 Not Zed <NotZed@Ximian.com>
+
+ * camel-mime-parser.c (folder_scan_drop_step): Drop back to
+ initial state if we came from eof state.
+
2002-06-19 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-ssl.c (stream_connect): Set the poll timeout to
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: