RIOT: Fix examples client issue

Bring the code up to the latest libcoap spec.
This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2025-04-14 12:34:10 +01:00
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;
}