Commit 42672cbc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Improve the INCOMPL() macro.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@462 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent cac7bf48
......@@ -277,7 +277,8 @@ void VSL(enum shmlogtag tag, unsigned id, const char *fmt, ...);
#define HERE() VSL(SLT_Debug, 0, "HERE: %s(%d)", __func__, __LINE__)
#define INCOMPL() do { \
VSL(SLT_Debug, 0, "INCOMPLETE AT: %s(%d)", __func__, __LINE__); \
assert(__LINE__ == 0); \
fprintf(stderr,"INCOMPLETE AT: %s(%d)\n", (const char *)__func__, __LINE__); \
abort(); \
} 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