diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -24,13 +24,7 @@ #define _BRANDT_UTIL_H -#define brandt_assert(cond) do { if (!(cond)) { GNUNET_log_from ( \ - GNUNET_ERROR_TYPE_ERROR, \ - "libbrandt", \ - "Assertion failed at %s:%d.\n", \ - __FILE__, \ - __LINE__); GNUNET_abort_ (); \ - } } while (0) +#define brandt_assert(cond) GNUNET_assert_from(cond, "libbrandt") #ifdef NDEBUG |