1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

nanocoap_sock: pass on error code

This commit is contained in:
Benjamin Valentin 2022-04-15 15:23:40 +02:00
parent c032e40fba
commit a5bc3cc069

View File

@ -357,7 +357,7 @@ int nanocoap_sock_get_blockwise(nanocoap_sock_t *sock, const char *path,
if (res) {
DEBUG("error fetching block %u: %d\n", num, res);
return -1;
return res;
}
num += 1;