mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-09 18:32:53 +03:00
[RIOT] coap_io_riot.c: fix timeout parameter in coap_io_process()
This commit is contained in:
1 parent
42ae470d2d
commit
a78c753e8c
1 file changed
+1
-1
+1
-1
@@ -191,7 +191,7 @@ coap_io_process(coap_context_t *ctx, uint32_t timeout_ms) {
|
||||
coap_ticks(&before);
|
||||
|
||||
timeout =
|
||||
coap_io_prepare_io(ctx, sockets, ARRAY_SIZE(sockets), &num_sockets, now);
|
||||
coap_io_prepare_io(ctx, sockets, ARRAY_SIZE(sockets), &num_sockets, before);
|
||||
if (timeout == 0 || timeout_ms < timeout)
|
||||
timeout = timeout_ms;
|
||||
|
||||
|
||||
Reference in new issue
Block a user