[evolution-data-server] Correct typo in a CAMEL_CHECK_LOCAL_GERROR() debugging macro



commit 2f69fe3d55f1d715ac7597681528162b6838dcbf
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jun 24 18:00:01 2014 +0200

    Correct typo in a CAMEL_CHECK_LOCAL_GERROR() debugging macro

 camel/camel-debug.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-debug.h b/camel/camel-debug.h
index 90926b4..4f3d5ae 100644
--- a/camel/camel-debug.h
+++ b/camel/camel-debug.h
@@ -104,7 +104,7 @@ void camel_debug_end (void);
                                ((error))->message); \
                } \
        } else { \
-               if ((error) != NULL) { \
+               if ((error) == NULL) { \
                        g_warning ( \
                                "%s::%s() reported failure " \
                                "without setting its GError", \


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