Sigma: Download samples from partial chunks.
This commit is contained in:
parent
ab224f7b61
commit
31facdd3c5
|
@ -938,7 +938,7 @@ static int receive_data(int fd, int revents, void *user_data)
|
||||||
fd = fd;
|
fd = fd;
|
||||||
revents = revents;
|
revents = revents;
|
||||||
|
|
||||||
numchunks = sigma->state.stoppos / 512;
|
numchunks = (sigma->state.stoppos + 511) / 512;
|
||||||
|
|
||||||
if (sigma->state.state == SIGMA_IDLE)
|
if (sigma->state.state == SIGMA_IDLE)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue