Changes in uspace/app/download/main.c [9713b0b:9a09212] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/download/main.c
r9713b0b r9a09212 224 224 } 225 225 226 int body_size;227 while (( body_size = recv_buffer(&http->recv_buffer, buf, buf_size))> 0) {226 size_t body_size; 227 while ((rc = recv_buffer(&http->recv_buffer, buf, buf_size, &body_size)) == EOK && body_size > 0) { 228 228 fwrite(buf, 1, body_size, ofile != NULL ? ofile : stdout); 229 229 }
Note:
See TracChangeset
for help on using the changeset viewer.