mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-18 05:39:04 +03:00
coap_net.c: Reuse coap_option_filter_clear in coap_dispatch
This commit is contained in:
1 parent
ae4c5c7ad0
commit
b2c3ca3b89
1 file changed
+1
-1
+1
-1
@@ -3577,7 +3577,7 @@ coap_dispatch(coap_context_t *context, coap_session_t *session,
|
||||
pdu->session = session;
|
||||
coap_show_pdu(COAP_LOG_DEBUG, pdu);
|
||||
|
||||
memset(&opt_filter, 0, sizeof(coap_opt_filter_t));
|
||||
coap_option_filter_clear(&opt_filter);
|
||||
|
||||
#if COAP_OSCORE_SUPPORT
|
||||
if (!COAP_PDU_IS_SIGNALING(pdu) &&
|
||||
|
||||
Reference in new issue
Block a user