summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-12-19 03:00:56 +0100
committerTom Gundersen <teg@jklm.no>2014-12-19 03:00:56 +0100
commiteac8e8c6de6347999f6b2115f9c38df31f8d35b1 (patch)
treea5d0277d1e7a7bbab4e1d05c4d3e6e02fcd83dc4 /src/import
parentc3a0d00d6dd6f5997d673e133ef6f9f856550b0a (diff)
import: dck - fix curl error handling
Diffstat (limited to 'src/import')
-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;
}