parse the response on all error codes.
authorRodrigo Moya <rodrigo@ximian.com>
Thu, 18 Mar 2004 21:56:03 +0000 (21:56 +0000)
committerRodrigo Moya <rodrigo@src.gnome.org>
Thu, 18 Mar 2004 21:56:03 +0000 (21:56 +0000)
2004-03-18  Rodrigo Moya <rodrigo@ximian.com>

* e-gw-connection.c (e_gw_connection_send_message): parse the
response on all error codes.

servers/groupwise/ChangeLog
servers/groupwise/e-gw-connection.c

index 66130aa..debdfee 100644 (file)
@@ -1,5 +1,8 @@
 2004-03-18  Rodrigo Moya <rodrigo@ximian.com>
 
+       * e-gw-connection.c (e_gw_connection_send_message): parse the
+       response on all error codes.
+
        * e-gw-message.c (e_gw_message_new_with_header): fixed typo.
 
        * create-account.c: updated to create the sources properly.
index 04cc464..7ed5eac 100644 (file)
@@ -349,9 +349,6 @@ e_gw_connection_send_message (EGwConnection *cnc, SoupSoapMessage *msg)
        g_return_val_if_fail (SOUP_IS_SOAP_MESSAGE (msg), NULL);
 
        soup_session_send_message (cnc->priv->soup_session, SOUP_MESSAGE (msg));
-       if (SOUP_MESSAGE (msg)->status_code != SOUP_STATUS_OK) {
-               return NULL;
-       }
 
        /* process response */
        response = soup_soap_message_parse_response (msg);