$NetBSD: patch-am,v 1.1 2005/04/12 01:18:42 rillig Exp $ Needed for gcc-2.95. --- servers/groupwise/e-gw-item.c.orig Mon Feb 28 16:44:17 2005 +++ servers/groupwise/e-gw-item.c Sun Apr 10 04:26:27 2005 @@ -2742,8 +2742,8 @@ e_gw_item_set_calendar_item_elements (EG /*attachments*/ if (priv->attach_list) { + GSList *al; soup_soap_message_start_element (msg, "attachments", NULL, NULL) ; - GSList *al ; for (al = priv->attach_list ; al != NULL ; al = al->next) { EGwItemAttachment *attachment = (EGwItemAttachment *)al->data ; add_attachment_to_soap_message (attachment, msg) ; @@ -2810,8 +2810,8 @@ e_gw_item_append_to_soap_message (EGwIte /*attachments*/ if (priv->attach_list) { + GSList *al; soup_soap_message_start_element (msg, "attachments", NULL, NULL) ; - GSList *al ; for (al = priv->attach_list ; al != NULL ; al = al->next) { EGwItemAttachment *attachment = (EGwItemAttachment *)al->data ; add_attachment_to_soap_message (attachment, msg) ;