mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-07 02:02:54 +03:00
RIOT: Fix examples client issue
Bring the code up to the latest libcoap spec.
This commit is contained in:
1 parent
cd06a72916
commit
f12b620cde
3 files changed
+7
-5
No files matched your search
@@ -219,7 +219,7 @@ client_coap_init(int argc, char **argv)
|
||||
}
|
||||
|
||||
res = coap_uri_into_optlist(&uri, &dst, &optlist, 1);
|
||||
if (res) {
|
||||
if (res != 1) {
|
||||
coap_log_warn("Failed to create options\n");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user