summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-12-16 21:21:23 +0000
committerRodrigo Moya <rodrigo@src.gnome.org>2003-12-16 21:21:23 +0000
commit682871c391838925e3b151f7773a279ed4ce25a6 (patch)
tree7659657a7cfb647371ac4b8f7ea01dfb2566f6b3
parent096658fc086c186e7f4ec080b3b67c8dffce2650 (diff)
downloadevolution-data-server-682871c391838925e3b151f7773a279ed4ce25a6.tar.gz
fixed copy-paste typo.
2003-12-16 Rodrigo Moya <rodrigo@ximian.com> * backends/groupwise/e-gw-connection.c (logout): fixed copy-paste typo.
-rw-r--r--calendar/ChangeLog2
-rw-r--r--calendar/backends/groupwise/e-gw-connection.c6
-rw-r--r--servers/groupwise/e-gw-connection.c6
3 files changed, 4 insertions, 10 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 609006b55..0785f2e7b 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,7 @@
2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
+ * backends/groupwise/e-gw-connection.c (logout): fixed copy-paste typo.
+
* backends/groupwise/soap-test.c (idle_cb): unref the EGwConnection
object, so that the logout message is sent to the server.
diff --git a/calendar/backends/groupwise/e-gw-connection.c b/calendar/backends/groupwise/e-gw-connection.c
index ab0952e52..0973971ba 100644
--- a/calendar/backends/groupwise/e-gw-connection.c
+++ b/calendar/backends/groupwise/e-gw-connection.c
@@ -76,12 +76,8 @@ logout (EGwConnection *cnc)
g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), E_GW_CONNECTION_STATUS_INVALID_OBJECT);
/* build the SOAP message */
- msg = e_gw_message_new_with_header (cnc->priv->uri, "loginRequest");
- soup_soap_message_start_element (msg, "auth", "types", "http://schemas.novell.com/2003/10/NCSP/types.xsd");
- soup_soap_message_add_attribute (msg, "type", "types:PlainText", "xsi",
- "http://www.w3.org/2001/XMLSchema-instance");
+ msg = e_gw_message_new_with_header (cnc->priv->uri, "logoutRequest");
e_gw_message_write_string_parameter (msg, "session", cnc->priv->session_id);
- soup_soap_message_end_element (msg);
e_gw_message_write_footer (msg);
/* send message to server */
diff --git a/servers/groupwise/e-gw-connection.c b/servers/groupwise/e-gw-connection.c
index ab0952e52..0973971ba 100644
--- a/servers/groupwise/e-gw-connection.c
+++ b/servers/groupwise/e-gw-connection.c
@@ -76,12 +76,8 @@ logout (EGwConnection *cnc)
g_return_val_if_fail (E_IS_GW_CONNECTION (cnc), E_GW_CONNECTION_STATUS_INVALID_OBJECT);
/* build the SOAP message */
- msg = e_gw_message_new_with_header (cnc->priv->uri, "loginRequest");
- soup_soap_message_start_element (msg, "auth", "types", "http://schemas.novell.com/2003/10/NCSP/types.xsd");
- soup_soap_message_add_attribute (msg, "type", "types:PlainText", "xsi",
- "http://www.w3.org/2001/XMLSchema-instance");
+ msg = e_gw_message_new_with_header (cnc->priv->uri, "logoutRequest");
e_gw_message_write_string_parameter (msg, "session", cnc->priv->session_id);
- soup_soap_message_end_element (msg);
e_gw_message_write_footer (msg);
/* send message to server */