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: