summaryrefslogtreecommitdiff
path: root/databases/evolution-data-server/files/patch-servers_groupwise_e-gw-item.c
blob: c865775dae15115e3f207291e1406d044743f638 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- servers/groupwise/e-gw-item.c.orig	Tue Jan 25 20:31:45 2005
+++ servers/groupwise/e-gw-item.c	Tue Jan 25 20:32:28 2005
@@ -2604,8 +2604,8 @@
 
 	/*attachments*/
 	if (priv->attach_list) {
-		soup_soap_message_start_element (msg, "attachments", NULL, NULL) ;
 		GSList *al ;
+		soup_soap_message_start_element (msg, "attachments", NULL, NULL) ;
 		for (al = priv->attach_list ; al != NULL ;  al = al->next) {
 			EGwItemAttachment *attachment = (EGwItemAttachment *)al->data ;
 			add_attachment_to_soap_message (attachment, msg) ;
@@ -2669,8 +2669,8 @@
 
 		/*attachments*/
 		if (priv->attach_list) {
-			soup_soap_message_start_element (msg, "attachments", NULL, NULL) ;
 			GSList *al ;
+			soup_soap_message_start_element (msg, "attachments", NULL, NULL) ;
 			for (al = priv->attach_list ; al != NULL ;  al = al->next) {
 				EGwItemAttachment *attachment = (EGwItemAttachment *)al->data ;
 				add_attachment_to_soap_message (attachment, msg) ;