diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-12 21:03:45 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-15 13:26:08 +0200 |
commit | 6bf60568f8a956c980accdc6ae86c918eee5a881 (patch) | |
tree | 3c1aeb51229b177808ed55f3ff8d458258a8b1c3 /lib/libalpm/error.c | |
parent | 83f076d3a81e5a625c07fdaf82a5e598a1c75c71 (diff) | |
download | pacman-6bf60568f8a956c980accdc6ae86c918eee5a881.tar.gz pacman-6bf60568f8a956c980accdc6ae86c918eee5a881.tar.xz |
lib/dload: avoid deleting .part file on too-slow xfer
Take this opportunity to refactor the if/then/else logic into a
switch/case which is likely going to be needed to fine tune more
exceptions in the future.
Fixes FS#25531
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
0 files changed, 0 insertions, 0 deletions