[evolution-data-server] [camel-imapx-conn-manager.c] Correct return values in some functions



commit 5ed82d8258c3d71ec7dc15f30fdcf2e7fcdf1ef8
Author: Milan Crha <mcrha redhat com>
Date:   Thu Aug 6 10:23:26 2015 +0200

    [camel-imapx-conn-manager.c] Correct return values in some functions

 camel/providers/imapx/camel-imapx-conn-manager.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-conn-manager.c 
b/camel/providers/imapx/camel-imapx-conn-manager.c
index 2600747..1395ae2 100644
--- a/camel/providers/imapx/camel-imapx-conn-manager.c
+++ b/camel/providers/imapx/camel-imapx-conn-manager.c
@@ -1441,7 +1441,7 @@ camel_imapx_conn_manager_copy_message_sync (CamelIMAPXConnManager *conn_man,
        gboolean success;
        gint ii;
 
-       g_return_val_if_fail (CAMEL_IS_IMAPX_CONN_MANAGER (conn_man), NULL);
+       g_return_val_if_fail (CAMEL_IS_IMAPX_CONN_MANAGER (conn_man), FALSE);
 
        job = camel_imapx_job_new (CAMEL_IMAPX_JOB_COPY_MESSAGE, mailbox,
                imapx_conn_manager_copy_message_run_sync,
@@ -1537,7 +1537,7 @@ camel_imapx_conn_manager_append_message_sync (CamelIMAPXConnManager *conn_man,
        struct AppendMessageJobData *job_data;
        gboolean success;
 
-       g_return_val_if_fail (CAMEL_IS_IMAPX_CONN_MANAGER (conn_man), NULL);
+       g_return_val_if_fail (CAMEL_IS_IMAPX_CONN_MANAGER (conn_man), FALSE);
 
        job = camel_imapx_job_new (CAMEL_IMAPX_JOB_APPEND_MESSAGE, mailbox,
                imapx_conn_manager_append_message_run_sync,
@@ -1616,7 +1616,7 @@ camel_imapx_conn_manager_sync_message_sync (CamelIMAPXConnManager *conn_man,
        struct GetMessageJobData *job_data;
        gboolean success;
 
-       g_return_val_if_fail (CAMEL_IS_IMAPX_CONN_MANAGER (conn_man), NULL);
+       g_return_val_if_fail (CAMEL_IS_IMAPX_CONN_MANAGER (conn_man), FALSE);
 
        job = camel_imapx_job_new (CAMEL_IMAPX_JOB_SYNC_MESSAGE, mailbox,
                imapx_conn_manager_sync_message_run_sync,


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