diff options
author | Dave Reisner <d@falconindy.com> | 2011-03-25 08:45:54 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-27 20:14:10 -0500 |
commit | 33c08ac91e32e1c1fe135c42030f1a2b64a63a54 (patch) | |
tree | 1b7c480c624ecb6bf9c2d95c43330e7427a77dcd /AUTHORS | |
parent | fd64988c8085a410a80851e2b4b6b62ea59139c2 (diff) | |
download | pacman-33c08ac91e32e1c1fe135c42030f1a2b64a63a54.tar.xz |
lib/dload: code simplification
Based on the fact that localf always points to the same file, there's no
need to code in multiple fopen calls with varying results. Instead,
track the desired file open mode and make a single call to fopen.
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions