[evolution-data-server] Fix typo in patch for bug #604650



commit 20c5952556b649dfec58f48892364e488c490b6f
Author: Milan Crha <mcrha redhat com>
Date:   Tue May 11 13:56:17 2010 +0200

    Fix typo in patch for bug #604650

 .../backends/webdav/e-book-backend-webdav.c        |    2 +-
 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 9b68611..c34c5c4 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]