1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58: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:
Dan McGee 2011-10-14 07:38:58 -05:00
parent 5b5b250443
commit 185cbb8a44

View File

@ -40,7 +40,9 @@ struct dload_payload {
int allow_resume;
int errors_ok;
int unlink_on_fail;
#ifdef HAVE_LIBCURL
CURLcode curlerr; /* last error produced by curl */
#endif
};
void _alpm_dload_payload_reset(struct dload_payload *payload);