diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-03 03:56:02 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-03 03:56:02 +0000 |
commit | 9b4aabdb0f0906f9cc2f38954d048d5e917db093 (patch) | |
tree | 11b7ed31ef8728f85f800fd0daa4bafc0c532324 /lib/libalpm/server.c | |
parent | fbf1aa653984be4a15714a0efe3acf756daf2d57 (diff) | |
download | pacman-9b4aabdb0f0906f9cc2f38954d048d5e917db093.tar.xz |
* Modified some error output and logging
* Changed the initial log mask (added PM_LOG_ERROR)
* Fixed -Syu so it now works if any databases were downloaded (it was working
like a -Su)
Diffstat (limited to 'lib/libalpm/server.c')
-rw-r--r-- | lib/libalpm/server.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c index 420b4a2e..35905489 100644 --- a/lib/libalpm/server.c +++ b/lib/libalpm/server.c @@ -181,9 +181,8 @@ int _alpm_downloadfiles_forreal(pmlist_t *servers, const char *localpath, dlf = fetchXGet(server->s_url, &ust, (handle->nopassiveftp ? "" : "p")); } if(fetchLastErrCode != 0 || dlf == NULL) { - _alpm_log(PM_LOG_ERROR, _("failed retrieving file '%s' from '%s://%s%s', %d : %s"), fn, - server->s_url->scheme, server->s_url->host, server->s_url->doc, fetchLastErrCode, - fetchLastErrString); + _alpm_log(PM_LOG_ERROR, _("failed retrieving file '%s' from %s://%s: %s"), fn, + server->s_url->scheme, server->s_url->host, fetchLastErrString); if(localf != NULL) { fclose(localf); } |