From 8b24c6d1d9487b1234e5e368702454ba802281bd Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Fri, 25 Sep 2009 21:58:21 +0200 Subject: [PATCH] Fix some NULL vs. 0 confusion --- calendar/backends/caldav/e-cal-backend-caldav.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c index 08fb02a..69c65f5 100644 --- a/calendar/backends/caldav/e-cal-backend-caldav.c +++ b/calendar/backends/caldav/e-cal-backend-caldav.c @@ -2710,7 +2710,7 @@ convert_to_inline_attachment (ECalBackendCalDAV *cbdav, icalcomponent *icalcomp) * be embedded in a soap message */ encoded = g_base64_encode ((guchar *) content, len); - attach = icalattach_new_from_data ((guchar *) encoded, 0, 0); + attach = icalattach_new_from_data ((guchar *) encoded, NULL, NULL); g_free(content); g_free(encoded); @@ -4157,7 +4157,7 @@ caldav_get_free_busy (ECalBackendSync *backend, e_cal_component_set_dtend (comp, &dt); if (priv->username) { - ECalComponentOrganizer organizer = {0}; + ECalComponentOrganizer organizer = {NULL}; organizer.value = priv->username; e_cal_component_set_organizer (comp, &organizer); -- 2.7.4