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:
parent
c032e40fba
commit
a5bc3cc069
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user