[evolution-data-server/gnome-2-30] Fix typo in patch for bug #604650



commit 030f4c92c0ae766b4759d220d0d2cd6081e60ada
Author: Milan Crha <mcrha redhat com>
Date:   Tue May 11 13:56:52 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 e3e6a9d..c7cd48d 100644
--- a/addressbook/backends/webdav/e-book-backend-webdav.c
+++ b/addressbook/backends/webdav/e-book-backend-webdav.c
@@ -1070,7 +1070,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]