diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-15 07:50:37 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-15 07:50:37 +0000 |
commit | 00ce9ea7394e6e21010d3758e5d949e2b449f64d (patch) | |
tree | 1e91d8c80cf2e535978b6fa51031765460234c9d /lib/libalpm/server.c | |
parent | 74e780f25df5642e19e6b8cc42ff1432fb7fe1b9 (diff) | |
download | pacman-00ce9ea7394e6e21010d3758e5d949e2b449f64d.tar.xz |
* 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
Diffstat (limited to 'lib/libalpm/server.c')
-rw-r--r-- | lib/libalpm/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |