1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

import: dck - fix curl error handling

This commit is contained in:
Tom Gundersen 2014-12-19 03:00:56 +01:00
parent c3a0d00d6d
commit eac8e8c6de

View File

@ -715,7 +715,7 @@ static void dck_import_curl_on_finished(CurlGlue *g, CURL *curl, CURLcode result
job->done = true;
if (result != CURLE_OK) {
log_error("Transfer failed: %s", curl_easy_strerror(code));
log_error("Transfer failed: %s", curl_easy_strerror(result));
r = -EIO;
goto fail;
}