On 12/6/19 2:43 am, morganamilo wrote:
> Currently when caling alpm_trans_commit, if fetching a package restults
> in a 404 (or other non 400 response code), the function returns -1 but
> errno is never set.
>
> Thish patch sets errno to ALPM_ERR_RETRIEVE.
>
OK. Fixed typo in commit message.
Currently when caling alpm_trans_commit, if fetching a package restults
in a 404 (or other non 400 response code), the function returns -1 but
errno is never set.
Thish patch sets errno to ALPM_ERR_RETRIEVE.
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 05813c40..e5696bb0 100644