Bug #632030 - Crashed while Groupwise server is not responding
authorPunit Jain <jpunit@novell.com>
Wed, 27 Oct 2010 06:41:26 +0000 (08:41 +0200)
committerMilan Crha <mcrha@redhat.com>
Wed, 27 Oct 2010 06:41:26 +0000 (08:41 +0200)
servers/groupwise/e-gw-connection.c

index e7d3ffc..6018202 100644 (file)
@@ -534,7 +534,8 @@ e_gw_connection_new_with_error_handler (const gchar *uri, const gchar *username,
        response = e_gw_connection_send_message (cnc, msg);
 
        if (!response) {
-               errors->status = E_GW_CONNECTION_STATUS_UNKNOWN;
+               if (errors)
+                       errors->status = E_GW_CONNECTION_STATUS_UNKNOWN;
                g_object_unref (cnc);
                g_static_mutex_unlock (&connecting);
                g_object_unref (msg);