Fix typo from 9a76a93ea that broke the build

This commit is contained in:
Aaron Oneal 2017-09-19 16:49:45 -07:00
parent 9a76a93ea8
commit 6ac4486f4d

View File

@ -386,7 +386,7 @@ static int stream_get_crc(intfstream_t *fd, uint32_t *crc)
while ((read = intfstream_read(fd, buffer, sizeof(buffer))) > 0)
acc = encoding_crc32(acc, buffer, read);
if ( sread < 0)
if (read < 0)
return 0;
*crc = acc;