[evolution-data-server] CamelStore: Fix typo preventing valid folder renames.



commit 3e873d24894ce4b1f7dd887158db9e8c300c332d
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Dec 10 14:41:14 2013 -0500

    CamelStore: Fix typo preventing valid folder renames.

 camel/camel-store.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-store.c b/camel/camel-store.c
index 3151c6a..e8002bd 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -2536,9 +2536,9 @@ store_rename_folder_thread (GTask *task,
 
        reserved_vfolder_name =
                ((store->flags & CAMEL_STORE_VJUNK) &&
-               g_str_equal (old_name, CAMEL_VJUNK_NAME) == 0) ||
+               g_str_equal (old_name, CAMEL_VJUNK_NAME)) ||
                ((store->flags & CAMEL_STORE_VTRASH) &&
-               g_str_equal (old_name, CAMEL_VTRASH_NAME) == 0);
+               g_str_equal (old_name, CAMEL_VTRASH_NAME));
 
        if (reserved_vfolder_name) {
                g_task_return_new_error (


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