index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Ivy Foster <ivy.foster@gmail.com> | 2016-10-12 15:13:31 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-10-22 20:50:55 +1000 |
commit | a55adb81d0f6fcd7fe98cc444806b3b0d25efc9c (patch) | |
tree | 8bf6a8b9f048a9b1073d964ffcead9015f404bd0 /lib/libalpm/dload.c | |
parent | a79be86f5751b4341f1339a32a5a8737439ac28d (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 2 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index dc57c929..9d803580 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -412,7 +412,7 @@ static int curl_download_internal(struct dload_payload *payload, /* shortcut to our handle within the payload */ alpm_handle_t *handle = payload->handle; CURL *curl = get_libcurl_handle(handle); - handle->pm_errno = 0; + handle->pm_errno = ALPM_ERR_OK; /* make sure these are NULL */ FREE(payload->tempfile_name); |