Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/download/main.c

    r9713b0b r9a09212  
    224224                }
    225225               
    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) {
    228228                        fwrite(buf, 1, body_size, ofile != NULL ? ofile : stdout);
    229229                }
Note: See TracChangeset for help on using the changeset viewer.