From 9d7b6d4ecd9ed563510af8bf011c4780d4277f95 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sun, 19 Jul 2009 17:22:26 +0000 Subject: [PATCH] Monotone-Parent: c4cc03e458ff714a9414efcd7a3b1bd9e5a74b88 Monotone-Revision: 06e62cd9a3622e37fa2134a13acd6f86fd82415c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-07-19T17:22:26 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentFolder.m | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 78244dd67..9ab0b60c4 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -1996,7 +1996,6 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir { NSDictionary *response; NSMutableArray *content; - NSString *escapedData; content = [NSMutableArray array]; @@ -2005,10 +2004,8 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir { [content addObject: davElementWithContent (@"request-status", XMLNS_CALDAV, @"2.0;Success")]; - escapedData = [NSString stringWithFormat: @"%@", - [calendarData stringByEscapingXMLString]]; [content addObject: davElementWithContent (@"calendar-data", XMLNS_CALDAV, - escapedData)]; + [calendarData stringByEscapingXMLString])]; } else [content addObject: @@ -2126,7 +2123,8 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir if (tags) { [response setStatus: 200]; - [response appendContentString:@""]; + [response appendContentString:@""]; [response setHeader: @"application/xml; charset=utf-8" forKey: @"Content-Type"]; [response appendContentString: