[evolution-data-server] Bug 777695 - [ECalClient] Produce CRLF line endings in iCalendar string
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 777695 - [ECalClient] Produce CRLF line endings in iCalendar string
- Date: Thu, 26 Jan 2017 12:57:37 +0000 (UTC)
commit d6d3d4fca5201ae6892aa4f5e6878a3b3db77d26
Author: Tim Ruffing <tim timruffing de>
Date: Thu Jan 26 13:58:11 2017 +0100
Bug 777695 - [ECalClient] Produce CRLF line endings in iCalendar string
src/calendar/libecal/e-cal-client.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/calendar/libecal/e-cal-client.c b/src/calendar/libecal/e-cal-client.c
index 5335f10..e355eea 100644
--- a/src/calendar/libecal/e-cal-client.c
+++ b/src/calendar/libecal/e-cal-client.c
@@ -3470,10 +3470,10 @@ e_cal_client_get_component_as_string (ECalClient *client,
vcal_string = g_string_new (NULL);
g_string_append (
vcal_string,
- "BEGIN:VCALENDAR\n"
- "PRODID:-//Ximian//NONSGML Evolution Calendar//EN\n"
- "VERSION:2.0\n"
- "METHOD:PUBLISH\n");
+ "BEGIN:VCALENDAR\r\n"
+ "PRODID:-//Ximian//NONSGML Evolution Calendar//EN\r\n"
+ "VERSION:2.0\r\n"
+ "METHOD:PUBLISH\r\n");
/* Now concatenate all the timezone strings. This also frees the
* timezone strings as it goes. */
@@ -3485,7 +3485,7 @@ e_cal_client_get_component_as_string (ECalClient *client,
/* If there were any timezones to send, create a complete VCALENDAR,
* else just send the VEVENT/VTODO string. */
g_string_append (vcal_string, obj_string);
- g_string_append (vcal_string, "END:VCALENDAR\n");
+ g_string_append (vcal_string, "END:VCALENDAR\r\n");
g_free (obj_string);
obj_string = g_string_free (vcal_string, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]