[evolution-data-server] imapx_call_idle: Do not print Cancelled errors on console
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] imapx_call_idle: Do not print Cancelled errors on console
- Date: Thu, 6 Feb 2014 12:01:01 +0000 (UTC)
commit 4fcdff60e038e278bf00acc136ec6610b61b729f
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 6 13:00:47 2014 +0100
imapx_call_idle: Do not print Cancelled errors on console
camel/providers/imapx/camel-imapx-server.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index c0028b0..ff04c7b 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -3760,7 +3760,8 @@ imapx_call_idle (gpointer data)
/* XXX Need a better way to propagate IDLE errors. */
if (local_error != NULL) {
- g_warning ("%s: %s", G_STRFUNC, local_error->message);
+ if (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
+ g_warning ("%s: %s", G_STRFUNC, local_error->message);
g_clear_error (&local_error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]