Closed GoogleCodeExporter closed 8 years ago
looking at that code, it's not clear to my why I had to add that condition at
all. the only thing I can think of are 0-sized files.
does it work if you remove that whole if-block?
Original comment by arvid.no...@gmail.com
on 6 Nov 2014 at 1:18
If I remove the if-block I get the following assert. Without the assert I get
negative progress values for some files because of:
...
int add = (std::min)(boost::int64_t(size), fs.file_size(file_index) -
file_offset);
...
file_offset is bigger than file_size
Original comment by webmas...@massaroddel.de
on 6 Nov 2014 at 4:48
fixed in trunk [10473]. thanks for the report!
Original comment by arvid.no...@gmail.com
on 8 Nov 2014 at 6:37
Its not working for me. I get different asserts. Also for a new torrent the
file progress vector is returned with size 0.
Original comment by webmas...@massaroddel.de
on 10 Nov 2014 at 4:44
ok. I actually just ran into an assert there too. I'll be taking a closer look
tonight.
Original comment by arvid.no...@gmail.com
on 10 Nov 2014 at 5:21
fixed in [10480].
Original comment by arvid.no...@gmail.com
on 14 Nov 2014 at 7:45
Original issue reported on code.google.com by
webmas...@massaroddel.de
on 2 Nov 2014 at 6:03