summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-05-11 13:56:17 +0200
committerMilan Crha <mcrha@redhat.com>2010-05-11 13:56:17 +0200
commit20c5952556b649dfec58f48892364e488c490b6f (patch)
treed0d4cd45386646ab42834dc0525c2cf01d019cd3
parent9d4eeebff2d699150dd7f5ff62bf144df023f94f (diff)
downloadevolution-data-server-20c5952556b649dfec58f48892364e488c490b6f.tar.gz
Fix typo in patch for bug #604650
-rw-r--r--addressbook/backends/webdav/e-book-backend-webdav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backends/webdav/e-book-backend-webdav.c b/addressbook/backends/webdav/e-book-backend-webdav.c
index 9b6861131..c34c5c424 100644
--- a/addressbook/backends/webdav/e-book-backend-webdav.c
+++ b/addressbook/backends/webdav/e-book-backend-webdav.c
@@ -1251,7 +1251,7 @@ e_book_backend_webdav_load_source(EBookBackend *backend,
}
/* append slash if missing */
- if (!suri->path || !*suri->path || suri->path[strlen (suri->path) - 1]) {
+ if (!suri->path || !*suri->path || suri->path[strlen (suri->path) - 1] != '/') {
gchar *new_path = g_strconcat (suri->path ? suri->path : "", "/", NULL);
soup_uri_set_path (suri, new_path);
g_free (new_path);