summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2008-06-02 05:27:16 +0000
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2008-06-02 05:27:16 +0000
commite622439210cd2fce297c404f2a359673984d2e58 (patch)
tree929236ce8924d07663e8124df904cf6802a0de39
parente040486be3c7bbaeacb96e6ac19a41797f227be0 (diff)
downloadevolution-data-server-e622439210cd2fce297c404f2a359673984d2e58.tar.gz
Appropriately check the response before dumping it. Fixes a crash.
2008-06-02 Sankar P <psankar@novell.com> * e-gw-connection.c: (e_gw_connection_send_message): Appropriately check the response before dumping it. Fixes a crash. svn path=/trunk/; revision=8891
-rw-r--r--servers/groupwise/ChangeLog6
-rw-r--r--servers/groupwise/e-gw-connection.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/servers/groupwise/ChangeLog b/servers/groupwise/ChangeLog
index 22fa26efb..7cfbc84c5 100644
--- a/servers/groupwise/ChangeLog
+++ b/servers/groupwise/ChangeLog
@@ -1,3 +1,9 @@
+2008-06-02 Sankar P <psankar@novell.com>
+
+ * e-gw-connection.c: (e_gw_connection_send_message):
+ Appropriately check the response before dumping it.
+ Fixes a crash.
+
2008-05-14 Sankar P <psankar@novell.com>
* e-gw-connection.c: (e_gw_connection_init),
diff --git a/servers/groupwise/e-gw-connection.c b/servers/groupwise/e-gw-connection.c
index f756cd7f8..2d6c74a70 100644
--- a/servers/groupwise/e-gw-connection.c
+++ b/servers/groupwise/e-gw-connection.c
@@ -678,7 +678,7 @@ e_gw_connection_send_message (EGwConnection *cnc, SoupSoapMessage *msg)
/* process response */
response = soup_soap_message_parse_response (msg);
- if (g_getenv ("GROUPWISE_DEBUG")) {
+ if (response && g_getenv ("GROUPWISE_DEBUG")) {
/* README: The stdout can be replaced with Evolution's
Logging framework also */