Sigma: Download samples from partial chunks.

This commit is contained in:
Håvard Espeland 2011-01-15 19:19:49 +01:00
parent ab224f7b61
commit 31facdd3c5
1 changed files with 1 additions and 1 deletions

View File

@ -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;