From 00ce9ea7394e6e21010d3758e5d949e2b449f64d Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 15 Nov 2006 07:50:37 +0000 Subject: * Initial changes to gensync - makepkg changes were not checked in from another machine - still pending * Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix scheme we're going with for the interim --- lib/libalpm/server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libalpm/server.c') diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c index aeaad6ae..4c0b5e79 100644 --- a/lib/libalpm/server.c +++ b/lib/libalpm/server.c @@ -180,6 +180,7 @@ int _alpm_downloadfiles_forreal(pmlist_t *servers, const char *localpath, } else { dlf = downloadXGet(server->s_url, &ust, (handle->nopassiveftp ? "" : "p")); } + if(downloadLastErrCode != 0 || dlf == NULL) { _alpm_log(PM_LOG_ERROR, _("failed retrieving file '%s' from %s://%s: %s"), fn, server->s_url->scheme, server->s_url->host, downloadLastErrString); -- cgit v1.2.3