mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 09:42:54 +03:00
coap_debug.c: reset all globals in coap_debug_reset
This commit is contained in:
1 parent
b2c3ca3b89
commit
ecc55544d6
1 file changed
+2
@@ -1327,8 +1327,10 @@ coap_debug_send_packet(void) {
|
||||
|
||||
void
|
||||
coap_debug_reset(void) {
|
||||
log_handler = NULL;
|
||||
maxlog = COAP_LOG_WARN;
|
||||
use_fprintf_for_show_pdu = 1;
|
||||
memset(&packet_loss_intervals, 0, sizeof(packet_loss_intervals));
|
||||
num_packet_loss_intervals = 0;
|
||||
packet_loss_level = 0;
|
||||
send_packet_count = 0;
|
||||
|
||||
Reference in new issue
Block a user