mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
mqtt: protect printing debug only vars
This commit is contained in:
parent
7fb6a450e8
commit
61c2e3291f
1 changed files with 2 additions and 0 deletions
|
@ -2362,8 +2362,10 @@ lws_mqtt_client_send_unsubcribe(struct lws *wsi,
|
|||
|
||||
wsi->mqtt->sub_size = (uint16_t)rem_len;
|
||||
|
||||
#if defined(_DEBUG)
|
||||
lwsl_debug("%s: Number of topics = %d, Remaining len = %d\n",
|
||||
__func__, (int)tops, (int)rem_len);
|
||||
#endif
|
||||
|
||||
p += lws_mqtt_vbi_encode(rem_len, p);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue