diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2010-07-31 17:20:59 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-07-31 17:21:34 +0200 |
commit | febf0c08ecff5078382124a8d07d9078ac84acd3 (patch) | |
tree | db328a9f1b74b892768005920d48dec4a8295704 | |
parent | 672cfc0d448820a686511600570db10b39074cf1 (diff) | |
download | evolution-data-server-febf0c08ecff5078382124a8d07d9078ac84acd3.tar.gz |
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.
-rw-r--r-- | 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 c012941e3..e9aebb579 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); |