mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
Add missing #ifdef around cURL error code in download struct
Thanks to Eduardo Tongson on the mailing list. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
5b5b250443
commit
185cbb8a44
@ -40,7 +40,9 @@ struct dload_payload {
|
|||||||
int allow_resume;
|
int allow_resume;
|
||||||
int errors_ok;
|
int errors_ok;
|
||||||
int unlink_on_fail;
|
int unlink_on_fail;
|
||||||
|
#ifdef HAVE_LIBCURL
|
||||||
CURLcode curlerr; /* last error produced by curl */
|
CURLcode curlerr; /* last error produced by curl */
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void _alpm_dload_payload_reset(struct dload_payload *payload);
|
void _alpm_dload_payload_reset(struct dload_payload *payload);
|
||||||
|
Loading…
Reference in New Issue
Block a user