From d21980207d955490db6e9d366e289dbee690e6af Mon Sep 17 00:00:00 2001 From: David Trowbridge Date: Tue, 28 Dec 2004 12:10:46 +0000 Subject: s/strcmp/strncmp. 2004-12-28 David Trowbridge * calendar-http.c (e_calendar_http_check): s/strcmp/strncmp. * org-gnome-calendar-http.eplug.in: fixed order of menus. svn path=/trunk/; revision=28204 --- plugins/calendar-http/ChangeLog | 6 ++++++ plugins/calendar-http/calendar-http.c | 2 +- plugins/calendar-http/org-gnome-calendar-http.eplug.in | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/plugins/calendar-http/ChangeLog b/plugins/calendar-http/ChangeLog index 28a0aa9012..3aa724b28b 100644 --- a/plugins/calendar-http/ChangeLog +++ b/plugins/calendar-http/ChangeLog @@ -1,3 +1,9 @@ +2004-12-28 David Trowbridge + + * calendar-http.c (e_calendar_http_check): s/strcmp/strncmp. + + * org-gnome-calendar-http.eplug.in: fixed order of menus. + 2004-11-12 Diego Sevilla Ruiz * calendar-http.c (e_calendar_http_check): Accept protocol-less diff --git a/plugins/calendar-http/calendar-http.c b/plugins/calendar-http/calendar-http.c index 6621006326..988fd18929 100644 --- a/plugins/calendar-http/calendar-http.c +++ b/plugins/calendar-http/calendar-http.c @@ -294,7 +294,7 @@ e_calendar_http_check (EPlugin *epl, EConfigHookPageCheckData *data) ESourceGroup *group = e_source_peek_group (t->source); char *uri_text; - if (strcmp (e_source_group_peek_base_uri (group), "webcal")) + if (strncmp (e_source_group_peek_base_uri (group), "webcal", 6)) return TRUE; uri_text = e_source_get_uri (t->source); diff --git a/plugins/calendar-http/org-gnome-calendar-http.eplug.in b/plugins/calendar-http/org-gnome-calendar-http.eplug.in index 1f0e0c622e..3ffe2783c4 100644 --- a/plugins/calendar-http/org-gnome-calendar-http.eplug.in +++ b/plugins/calendar-http/org-gnome-calendar-http.eplug.in @@ -12,11 +12,11 @@ check="e_calendar_http_check"> -- cgit v1.2.3