Commit e10ab25f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make assert do the right thing


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@745 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 07e972c4
......@@ -22,7 +22,7 @@ void varnish_version(const char *);
#else /* WITH_ASSERTS */
#define assert(e) \
do { \
if (e) \
if (!(e)) \
lbv_assert(__func__, __FILE__, __LINE__, #e, errno); \
} while (0)
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment