From c060411435cbb400c4ec72386ca78eaf9eaef03d Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Fri, 13 May 2016 11:19:52 -0700 Subject: [PATCH] Use same formatting for fullfile download error messages Signed-off-by: Patrick McCarty --- src/download.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/download.c b/src/download.c index 8eca4ec6..af44b4fa 100644 --- a/src/download.c +++ b/src/download.c @@ -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);