[evolution-mapi] Fix runtime check error return values
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Fix runtime check error return values
- Date: Mon, 23 Jul 2012 13:47:46 +0000 (UTC)
commit f80c848c0ba35198eed73d596bf3b809aaa28264
Author: Milan Crha <mcrha redhat com>
Date: Mon Jul 23 15:47:02 2012 +0200
Fix runtime check error return values
src/libexchangemapi/e-mapi-connection.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libexchangemapi/e-mapi-connection.c b/src/libexchangemapi/e-mapi-connection.c
index 70fb211..ba45eef 100644
--- a/src/libexchangemapi/e-mapi-connection.c
+++ b/src/libexchangemapi/e-mapi-connection.c
@@ -6185,8 +6185,8 @@ e_mapi_connection_peek_folders_list (EMapiConnection *conn)
/* to have this used in the below macros */
GError **perror = NULL;
- CHECK_CORRECT_CONN_AND_GET_PRIV (conn, FALSE);
- e_return_val_mapi_error_if_fail (priv->session != NULL, MAPI_E_INVALID_PARAMETER, FALSE);
+ CHECK_CORRECT_CONN_AND_GET_PRIV (conn, NULL);
+ e_return_val_mapi_error_if_fail (priv->session != NULL, MAPI_E_INVALID_PARAMETER, NULL);
g_static_rec_mutex_lock (&priv->folders_lock);
@@ -6217,7 +6217,7 @@ e_mapi_connection_ex_to_smtp (EMapiConnection *conn,
const gchar *str_array[2];
gchar *smtp_addr = NULL;
- CHECK_CORRECT_CONN_AND_GET_PRIV (conn, FALSE);
+ CHECK_CORRECT_CONN_AND_GET_PRIV (conn, NULL);
e_return_val_mapi_error_if_fail (priv->session != NULL, MAPI_E_INVALID_PARAMETER, NULL);
e_return_val_mapi_error_if_fail (ex_address != NULL, MAPI_E_INVALID_PARAMETER, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]