diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-27 11:41:44 +0200 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-29 15:49:23 +0200 |
commit | a82dc99a86d91fe1b0f950d343482eaf30acb269 (patch) | |
tree | 38eaa97053103b5976ae9323930e4511eed36045 /src/core.h | |
parent | 6010fe62fda49ffb6a3fa7038b0c2feb61767263 (diff) |
use int32_t for chunk index
cli->chunk = -1 shortcircuits the runtime file split in chunk
Diffstat (limited to 'src/core.h')
-rw-r--r-- | src/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |