mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
test/net/nanocoap_cli: fix buffer size for get_non
This commit is contained in:
parent
2a6b8a3fed
commit
9d22e46fa9
@ -327,7 +327,7 @@ int nanotest_client_get_non_cmd(int argc, char **argv)
|
||||
{
|
||||
int res;
|
||||
|
||||
uint8_t response[CONFIG_NANOCOAP_BLOCKSIZE_DEFAULT];
|
||||
uint8_t response[coap_szx2size(CONFIG_NANOCOAP_BLOCKSIZE_DEFAULT)];
|
||||
|
||||
if (argc < 2) {
|
||||
printf("usage: %s <url>\n", argv[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user