[evolution-data-server/gnome-2-30] imapx: ->cinfo *can* be NULL in imapx_server_dispose() for a failed connection
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-30] imapx: ->cinfo *can* be NULL in imapx_server_dispose() for a failed connection
- Date: Sat, 31 Jul 2010 15:29:26 +0000 (UTC)
commit 653225f05b48e6743a8b748a06ef19da99b832dd
Author: David Woodhouse <David Woodhouse intel com>
Date: Sat Jul 31 17:24:43 2010 +0200
imapx: ->cinfo *can* be NULL in imapx_server_dispose() for a failed connection
.... which happens when you're on a ferry using a satellite connection,
exacerbated by slow VPN and trying to use GSSAPI authentication which is
slow enough at the best of times.... and the server has a short idle
timeout so it kicks you off before you manage to complete the authentication.
(cherry picked from commit febf0c08ecff5078382124a8d07d9078ac84acd3)
camel/providers/imapx/camel-imapx-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index cef704f..867c348 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -4618,7 +4618,7 @@ imapx_server_finalise(CamelIMAPXServer *is, CamelIMAPXServerClass *isclass)
if (is->parser_thread)
g_thread_join (is->parser_thread);
- if (imapx_idle_supported (is))
+ if (is->cinfo && imapx_idle_supported (is))
imapx_exit_idle (is);
imapx_disconnect (is);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]