Changes in uspace/app/download/main.c [9a09212:9713b0b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/download/main.c
r9a09212 r9713b0b 224 224 } 225 225 226 size_t body_size;227 while (( rc = recv_buffer(&http->recv_buffer, buf, buf_size, &body_size)) == EOK && body_size> 0) {226 int body_size; 227 while ((body_size = recv_buffer(&http->recv_buffer, buf, buf_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.