Changeset d5c1051 in mainline for uspace/app/download/main.c
- Timestamp:
- 2017-12-20T22:25:34Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39b54fe
- Parents:
- 8610c2c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:22:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:25:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/download/main.c
r8610c2c rd5c1051 74 74 http_t *http = NULL; 75 75 int rc; 76 int ret; 76 77 77 78 if (argc < 2) { … … 155 156 } 156 157 } else { 157 r c= asprintf(&server_path, "%s?%s", path, uri->query);158 if (r c< 0) {158 ret = asprintf(&server_path, "%s?%s", path, uri->query); 159 if (ret < 0) { 159 160 fprintf(stderr, "Failed allocating path\n"); 160 161 rc = ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.