mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-08 18:32:53 +03:00
bugfix
This commit is contained in:
1 parent
29ce30fa32
commit
a335f87847
2 files changed
+2
-2
No files matched your search
@@ -870,7 +870,7 @@ handle_request(coap_context_t *context, coap_queue_t *node) {
|
||||
opt_filter);
|
||||
}
|
||||
|
||||
if (coap_send(context, &node->remote, response) == COAP_INVALID_TID) {
|
||||
if (response && coap_send(context, &node->remote, response) == COAP_INVALID_TID) {
|
||||
warn("cannot send response for transaction %u\n", node->id);
|
||||
coap_delete_pdu(response);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user