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/calendar-http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/calendar-http/calendar-http.c') 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); -- cgit