[evolution-data-server] 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] imapx: ->cinfo *can* be NULL in imapx_server_dispose() for a failed connection
- Date: Sat, 31 Jul 2010 15:23:14 +0000 (UTC)
commit febf0c08ecff5078382124a8d07d9078ac84acd3
Author: David Woodhouse <David Woodhouse intel com>
Date: Sat Jul 31 17:20:59 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.
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 c012941..e9aebb5 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -4762,7 +4762,7 @@ imapx_server_dispose (GObject *object)
if (server->parser_thread)
g_thread_join (server->parser_thread);
- if (imapx_idle_supported (server))
+ if (server->cinfo && imapx_idle_supported (server))
imapx_exit_idle (server);
imapx_disconnect (server);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]