[evolution-data-server] imapx_parser_thread: Avoid piling up GErrors.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] imapx_parser_thread: Avoid piling up GErrors.
- Date: Mon, 10 Jan 2011 23:10:16 +0000 (UTC)
commit 79caca4279503a1bf435d6bd919929eed7b309e5
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jan 10 17:59:18 2011 -0500
imapx_parser_thread: Avoid piling up GErrors.
camel/providers/imapx/camel-imapx-server.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 0f06dd3..33e0156 100644
--- 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]