commit 6c220f3410493ff3f721e5f6dec9d91c88e841e1
parent 1f44b0c9c8392aa4e46f6bb72e00e5f857380b9b
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 27 Mar 2017 19:01:38 -0400
download: improve fallback error message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/download.cpp b/src/download.cpp
@@ -148,7 +148,7 @@ void Download::run(DownloadContext *ctx)
headers = curl_slist_append(headers, "Cache-Control: no-cache");
curl_easy_setopt(ctx->m_curl, CURLOPT_HTTPHEADER, headers);
- char errbuf[CURL_ERROR_SIZE] = "No details";
+ char errbuf[CURL_ERROR_SIZE] = "No error message";
curl_easy_setopt(ctx->m_curl, CURLOPT_ERRORBUFFER, errbuf);
const CURLcode res = curl_easy_perform(ctx->m_curl);