Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use off_t instead of size_t for file size | tiptorrent development team | 2021-09-29 | 1 | -1/+1 |
| | | | | | stat() st_size datatype is off_t which is for file size, use off_t instead of size_t for correctness. | ||||
* | Add ULL postfix to FILE_SIZE_THRESHOLD to avoid using int | tiptorrent development team | 2021-09-29 | 1 | -1/+1 |
| | | | | | Otherwise, cli->size > FILE_SIZE_THRESHOLD uses 32-bit integer which overflows with very large files. Use ULL to enforce 64-bits. | ||||
* | initial commit | tiptorrent development team | 2021-09-29 | 1 | -0/+83 |