diff options
author | Not Zed <NotZed@Ximian.com> | 2002-06-20 13:50:38 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-06-20 13:50:38 +0800 |
commit | 042202c1724851bc94e1972cf436a88e8aadac79 (patch) | |
tree | 0e5c2ac682e630186f73e20efa29c5d59d5e883e /camel | |
parent | 4c9a2140b45ed6602a43c42a0d156407096d7e40 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-mime-parser.c | 3 |
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: |