1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 17:43:51 +01:00

gcoap_fileserver: use uint8_t for szx value

This commit is contained in:
Benjamin Valentin 2022-05-23 23:43:21 +02:00
parent 00221818b6
commit c6ba5d9180

View File

@ -37,9 +37,9 @@ struct requestdata {
/** 0-terminated expanded file name in the VFS */
char namebuf[COAPFILESERVER_PATH_MAX];
uint32_t blocknum2;
unsigned int szx2; /* would prefer uint8_t but that's what coap_get_blockopt gives */
uint32_t etag;
bool etag_sent;
uint8_t szx2;
};
/**