diff options
-rw-r--r-- | libopkg/opkg_download.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c index a212969..999dc87 100644 --- a/libopkg/opkg_download.c +++ b/libopkg/opkg_download.c @@ -111,7 +111,7 @@ int opkg_download(opkg_conf_t *conf, const char *src, { long error_code; curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &error_code); - opkg_message(conf, OPKG_ERROR, "Failed to download %s, error %d\n", src, error_code); + opkg_message(conf, OPKG_ERROR, "Failed to download %s. \nerror detail: %s\n", src, curl_easy_strerror(res)); free(tmp_file_location); free(src_basec); curl_easy_cleanup (curl); |