diff options
Diffstat (limited to 'servers/groupwise/e-gw-connection.c')
| -rw-r--r-- | servers/groupwise/e-gw-connection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/servers/groupwise/e-gw-connection.c b/servers/groupwise/e-gw-connection.c index cccedd7aa..c48dcec45 100644 --- a/servers/groupwise/e-gw-connection.c +++ b/servers/groupwise/e-gw-connection.c @@ -596,6 +596,10 @@ e_gw_connection_get_container_list (EGwConnection *cnc, const char *top, GList * EGwConnectionStatus status; SoupSoapParameter *param; + /* when user cancels password dialog, then the cnc is NULL */ + if (!cnc) + return E_GW_CONNECTION_STATUS_UNKNOWN; + g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), E_GW_CONNECTION_STATUS_UNKNOWN); g_return_val_if_fail (container_list != NULL, E_GW_CONNECTION_STATUS_UNKNOWN); |
