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



commit f25c1b96cc14ad23662d70bb3a9299b93535b889
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 94b36ac..474dd0c 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]