Commit a8a7d2cf authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

Minor tweaks for testing

PUBLISHED_FROM=d52aea1648ed8ec8dd2e71168884795d995b1826
parent 50ecc30b
...@@ -164,10 +164,13 @@ void _strfail(const char *a, const char *e, int len); ...@@ -164,10 +164,13 @@ void _strfail(const char *a, const char *e, int len);
} \ } \
} while (0) } while (0)
#define CHECK_CALL(call) \ #define CHECK_CALL(call) \
do { \ do { \
const char *r = (call); \ const char *r = (call); \
if (r != NULL) return r; \ if (r != NULL) { \
fprintf(stderr, "... %s:%d in %s\n", __FILE__, __LINE__, __func__); \
return r; \
} \
} while (0) } while (0)
#ifndef MG_ENABLE_POLL_UNTIL #ifndef MG_ENABLE_POLL_UNTIL
......
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