summaryrefslogtreecommitdiff
path: root/lib/libalpm/log.h
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-12-09 23:20:29 +0100
committerDan McGee <dan@archlinux.org>2009-12-13 23:22:16 -0600
commita2c9cbdbdc8ca1ad1653fa42eb4b7571bfe744ec (patch)
tree159827aa7421c5e77be0b392a49a2d86ccb4916f /lib/libalpm/log.h
parentb8b8c78627b2f1791a2b46b0d6c87d7a9b90f376 (diff)
downloadpacman-a2c9cbdbdc8ca1ad1653fa42eb4b7571bfe744ec.tar.xz
improve download_internal error messages
download_internal is supposed to always set pm_errno but did not in many cases. The most important (and tested) change is the one concerning fetchStat. This is typically where the code will fail when the network is down for example. Before commit d2dbb04a9af7a18da, this fetchStat call did not exist and the same kind of errors would be encountered in the fetchXGet call that follows. I just copied the error printing to restore the old behavior. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/log.h')
0 files changed, 0 insertions, 0 deletions