mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 22:21:32 +00:00
Use same formatting for fullfile download error messages
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
+2
-2
@@ -379,14 +379,14 @@ static int perform_curl_io_and_complete(int *left)
|
||||
if (local_download) {
|
||||
untar_full_download(file);
|
||||
} else {
|
||||
printf("error: received http \"0\" response for %s download\n",
|
||||
printf("Error for %s download: No response received\n",
|
||||
file->hash);
|
||||
failed = list_prepend_data(failed, file);
|
||||
}
|
||||
} else {
|
||||
char *url = NULL;
|
||||
|
||||
printf("error: received %ld response for download\n", ret);
|
||||
printf("Error for %s download: Received %ld response\n", file->hash, ret);
|
||||
failed = list_prepend_data(failed, file);
|
||||
curl_easy_getinfo(handle, CURLINFO_EFFECTIVE_URL, &url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user