summaryrefslogtreecommitdiff
path: root/pjlib/include
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include')
-rw-r--r--pjlib/include/pj/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/include/pj/assert.h b/pjlib/include/pj/assert.h
index 1184ae3b..40191da7 100644
--- a/pjlib/include/pj/assert.h
+++ b/pjlib/include/pj/assert.h
@@ -60,7 +60,7 @@
#if defined(PJ_ENABLE_EXTRA_CHECK) && PJ_ENABLE_EXTRA_CHECK != 0
# define PJ_ASSERT_RETURN(expr,retval) \
do { \
- if (!(expr)) { pj_assert(0); return retval; } \
+ if (!(expr)) { pj_assert(expr); return retval; } \
} while (0)
#else
# define PJ_ASSERT_RETURN(expr,retval) pj_assert(expr)