use int32_t for chunk index

cli->chunk = -1 shortcircuits the runtime file split in chunk
master
tiptorrent development team 2021-09-27 11:41:44 +02:00
parent 6010fe62fd
commit a82dc99a86
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ struct tip_client {
const char *uri;
const char *path;
bool checksum;
uint32_t chunk;
int32_t chunk;
off_t size;
off_t left;
int fd;