summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2006-06-16 07:28:44 +0000
committerParthasarathi Susarla <saps@src.gnome.org>2006-06-16 07:28:44 +0000
commit195144433cff51c6b67daa7a3f9fcc723f0a15fd (patch)
tree9c1e876320d1d5371339ad71d8893819fc2fa119
parentb4515223e63b1790aa294e8ca184c77789ab0fd0 (diff)
downloadevolution-data-server-195144433cff51c6b67daa7a3f9fcc723f0a15fd.tar.gz
Fixes bug #167517 on bnc
2006-06-13 Parthasarathi Susarla <sparthasarathi@novell.com> Fixes bug #167517 on bnc * e-gw-item.[ch]: Use the hasAttachment soap element to check if a mail contains an attachment or not.
-rw-r--r--servers/groupwise/e-gw-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/groupwise/e-gw-item.c b/servers/groupwise/e-gw-item.c
index b4db93804..7abb9ae94 100644
--- a/servers/groupwise/e-gw-item.c
+++ b/servers/groupwise/e-gw-item.c
@@ -3129,8 +3129,8 @@ e_gw_item_append_to_soap_message (EGwItem *item, SoupSoapMessage *msg)
char *str ;
char *str_len ;
- //str = soup_base64_encode (priv->message, strlen (priv->message));
- str = g_strdup (priv->message);
+ str = soup_base64_encode (priv->message, strlen (priv->message));
+ //str = g_strdup (priv->message);
str_len = g_strdup_printf ("%d", (int)strlen (str));
soup_soap_message_start_element (msg, "part", NULL, NULL);
soup_soap_message_add_attribute (msg, "length", str_len, NULL, NULL);