aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-parser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-06-20 13:50:38 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-06-20 13:50:38 +0800
commit042202c1724851bc94e1972cf436a88e8aadac79 (patch)
tree0e5c2ac682e630186f73e20efa29c5d59d5e883e /camel/camel-mime-parser.c
parent4c9a2140b45ed6602a43c42a0d156407096d7e40 (diff)
downloadgsoc2013-evolution-042202c1724851bc94e1972cf436a88e8aadac79.tar.gz
gsoc2013-evolution-042202c1724851bc94e1972cf436a88e8aadac79.tar.zst
gsoc2013-evolution-042202c1724851bc94e1972cf436a88e8aadac79.zip
Drop back to initial state if we came from eof state.
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. svn path=/trunk/; revision=17245
Diffstat (limited to 'camel/camel-mime-parser.c')
-rw-r--r--camel/camel-mime-parser.c3
1 files changed, 2 insertions, 1 deletions
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: