Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset f96b6c8 in mainline


Ignore:
Timestamp:
2017-12-20T20:13:44Z (4 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
de0213c
Parents:
25a179e
Message:

Fix error reporting in app/download.

File:
1 edited

Legend:

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

    r25a179e rf96b6c8  
    229229                }
    230230               
    231                 if (body_size != 0) {
    232                         fprintf(stderr, "Failed receiving body: %s", str_error(body_size));
     231                if (rc != EOK) {
     232                        fprintf(stderr, "Failed receiving body: %s", str_error(rc));
    233233                }
    234234        }
Note: See TracChangeset for help on using the changeset viewer.