mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 09:42:54 +03:00
coap_resource.c: Fix inverted error introduced in #1927
This commit is contained in:
1 parent
feab110c7f
commit
54faa02565
1 file changed
+1
-1
+1
-1
@@ -503,7 +503,7 @@ coap_free_resource(coap_resource_t *resource, coap_deleting_resource_t deleting)
|
||||
|
||||
context = resource->context;
|
||||
if (context) {
|
||||
if (context->observe_no_clear) {
|
||||
if (!context->observe_no_clear) {
|
||||
coap_resource_notify_observers_lkd(resource, deleting);
|
||||
coap_notify_observers(context, resource, deleting);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user