mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-05 20:02:19 +03:00
coap_opt_filter_t: Make it a proper structure
Update coap_opt_filter_t to be a structure rather than a 16bit array that is aliased with the real structure format. Update code to use pointers where appropriate.
This commit is contained in:
1 parent
486f97f8d4
commit
e2e783033c
12 files changed
+145
-167
No files matched your search
@@ -319,7 +319,7 @@ hnd_get_async(coap_context_t *ctx,
|
||||
if (async) {
|
||||
if (async->id != request->tid) {
|
||||
coap_opt_filter_t f;
|
||||
coap_option_filter_clear(f);
|
||||
coap_option_filter_clear(&f);
|
||||
response->code = COAP_RESPONSE_CODE_SERVICE_UNAVAILABLE;
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user