[evolution-patches] patch for groupwise (servers/groupwise)
- From: Parthasarathi Susarla <sparthasarathi novell com>
- To: patches <evolution-patches lists ximian com>
- Cc: kharish novell com
- Subject: [evolution-patches] patch for groupwise (servers/groupwise)
- Date: Mon, 21 Feb 2005 14:28:22 +0530
Hi,
this patch adds a new soap element "part" in the mail message, to comply
with the schema
Thanks and regards,
partha
Index: e-gw-item.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/e-gw-item.c,v
retrieving revision 1.72
diff -u -p -r1.72 e-gw-item.c
--- e-gw-item.c 16 Feb 2005 13:07:47 -0000 1.72
+++ e-gw-item.c 21 Feb 2005 08:55:19 -0000
@@ -2792,10 +2792,12 @@ e_gw_item_append_to_soap_message (EGwIte
str = soup_base64_encode (priv->message, strlen (priv->message));
str_len = g_strdup_printf ("%d", strlen (str));
+ soup_soap_message_start_element (msg, "part", NULL, NULL);
soup_soap_message_add_attribute (msg, "length", str_len, NULL, NULL);
soup_soap_message_add_attribute (msg, "contentType", priv->content_type, NULL, NULL);
g_free (str_len);
soup_soap_message_write_string (msg, str);
+ soup_soap_message_end_element (msg);
g_free (str);
} else {
soup_soap_message_add_attribute (msg, "length", "0", NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]