summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/import/import-dck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/import-dck.c b/src/import/import-dck.c
index 7c83ff722b..adb0c90175 100644
--- a/src/import/import-dck.c
+++ b/src/import/import-dck.c
@@ -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;
}