index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/dload.c | 1 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 5a63e488..9f1285d0 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -194,6 +194,7 @@ static int curl_download_internal(struct dload_payload *payload, struct sigaction sig_pipe[2], sig_int[2]; /* shortcut to our handle within the payload */ alpm_handle_t *handle = payload->handle; + handle->pm_errno = 0; if(!payload->filename) { payload->filename = get_filename(payload->fileurl); |