1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

string_assert: First arg of elinks_internal is a format string.

This commit is contained in:
Kalle Olavi Niemitalo 2007-03-11 10:41:58 +02:00 committed by Witold Filipczyk
parent b0bc06d050
commit 2e3ebffcd3

View File

@ -34,7 +34,7 @@
#define string_assert(f, l, x, o) \
if ((assert_failed = !(x))) { \
errfile = f, errline = l, \
elinks_internal("[" o "] assertion " #x " failed!"); \
elinks_internal("[%s] assertion %s failed!", o, #x); \
}
#ifdef DEBUG_MEMLEAK