projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d03521b
)
imapx_parser_thread: Avoid piling up GErrors.
author
Matthew Barnes
<mbarnes@redhat.com>
Mon, 10 Jan 2011 22:59:18 +0000
(17:59 -0500)
committer
Matthew Barnes
<mbarnes@redhat.com>
Mon, 10 Jan 2011 22:59:18 +0000
(17:59 -0500)
camel/providers/imapx/camel-imapx-server.c
patch
|
blob
|
history
diff --git
a/camel/providers/imapx/camel-imapx-server.c
b/camel/providers/imapx/camel-imapx-server.c
index
0f06dd3
..
33e0156
100644
(file)
--- a/
camel/providers/imapx/camel-imapx-server.c
+++ b/
camel/providers/imapx/camel-imapx-server.c
@@
-4901,6
+4901,10
@@
imapx_parser_thread (gpointer d)
errno = EINTR;
}
+ /* Jump out of the loop if an error occurred. */
+ if (local_error != NULL)
+ break;
+
if (is->parser_quit) {
g_set_error (
&local_error, G_IO_ERROR,