1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

lwsl_debug: NOP if no _DEBUG

This commit is contained in:
qmatt 2018-05-26 09:07:08 +08:00 committed by Andy Green
parent 49c7e8238b
commit 0425d962e5

View file

@ -2068,7 +2068,9 @@ lwsl_hexdump_level(int hexdump_level, const void *vbuf, size_t len)
LWS_VISIBLE void
lwsl_hexdump(const void *vbuf, size_t len)
{
#if defined(_DEBUG)
lwsl_hexdump_level(LLL_DEBUG, vbuf, len);
#endif
}
LWS_VISIBLE int