1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-21 20:43:50 +01:00
Benjamin Valentin 11e40a9d61 nanocoap_sock: fix wrong assertion
The assertion is a bit overeager.
In case of receiving a wrong message ID, we re-try receive without
entering the STATE_REQUEST_SEND state again, so it is expected that
we get a non-NULL ctx/response from sock_udp_recv_buf().

What this assert should actually check is that we don't get a non-NULL
ctx after calling sock_udp_recv_buf() with a non-NULL ctx.

So make this explicit to not falsely fail the assertion.
2022-06-16 18:54:16 +02:00
..
2022-03-11 09:24:12 +01:00
2022-01-10 12:21:40 +01:00
2022-01-13 17:50:59 +01:00
2021-08-13 19:50:38 +02:00
2022-06-10 11:02:40 +02:00
2021-12-07 13:00:58 +01:00
2021-12-10 18:54:29 +01:00
2022-06-16 18:54:16 +02:00
2022-03-11 09:20:24 +01:00
2021-12-07 16:31:15 +01:00
2022-02-11 12:38:21 +01:00
2021-11-24 17:54:44 +01:00
2021-10-01 11:26:15 +02:00
2022-06-08 12:53:48 +02:00