From 730fa4cf41b25ad1c5e9a57ec97fd823ea6ff144 Mon Sep 17 00:00:00 2001 From: Sankarasivasubramanian Pasupathilingam Date: Fri, 11 May 2007 10:22:26 +0000 Subject: =?UTF-8?q?Bug=20437584=20=E2=80=93=20Compilation=20warning=20in?= =?UTF-8?q?=20evolution's=20plugins=20folder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=33507 --- plugins/publish-calendar/ChangeLog | 5 +++++ plugins/publish-calendar/url-editor-dialog.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'plugins/publish-calendar') diff --git a/plugins/publish-calendar/ChangeLog b/plugins/publish-calendar/ChangeLog index b2e5b7be55..f72b9da841 100644 --- a/plugins/publish-calendar/ChangeLog +++ b/plugins/publish-calendar/ChangeLog @@ -1,3 +1,8 @@ +2007-05-11 Gilles Dartiguelongue + + * url-editor-dialog.c: (set_from_uri): fixes casts in strcmp, + fixes par of bug #437584 + 2007-03-20 Matthew Barnes ** Fixes part of bug #419524 diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c index 352d6eff1e..c426c9cb20 100644 --- a/plugins/publish-calendar/url-editor-dialog.c +++ b/plugins/publish-calendar/url-editor-dialog.c @@ -261,17 +261,17 @@ set_from_uri (UrlEditorDialog *dialog) euri = e_uri_new (uri->location); /* determine our method */ method = euri->protocol; - if (strcmp (method, "smb") == 0) + if (strcmp ((const char *)method, "smb") == 0) uri->service_type = TYPE_SMB; - else if (strcmp (method, "sftp") == 0) + else if (strcmp ((const char *)method, "sftp") == 0) uri->service_type = TYPE_SSH; - else if (strcmp (method, "ftp") == 0) + else if (strcmp ((const char *)method, "ftp") == 0) /* we set TYPE_FTP here for now. if we don't find a * username later, we'll change it to TYPE_ANON_FTP */ uri->service_type = TYPE_FTP; - else if (strcmp (method, "dav") == 0) + else if (strcmp ((const char *)method, "dav") == 0) uri->service_type = TYPE_DAV; - else if (strcmp (method, "davs") == 0) + else if (strcmp ((const char *)method, "davs") == 0) uri->service_type = TYPE_DAVS; else uri->service_type = TYPE_URI; -- cgit v1.2.3