aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publish-calendar
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/publish-calendar')
-rw-r--r--plugins/publish-calendar/ChangeLog5
-rw-r--r--plugins/publish-calendar/url-editor-dialog.c10
2 files changed, 10 insertions, 5 deletions
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 <dartigug@esiee.fr>
+
+ * url-editor-dialog.c: (set_from_uri): fixes casts in strcmp,
+ fixes par of bug #437584
+
2007-03-20 Matthew Barnes <mbarnes@redhat.com>
** 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;