diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-08-08 15:20:24 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-08-08 18:17:24 +0200 |
commit | 3cf0ee98c02e1f40954f0c2c508e16d33ca299ca (patch) | |
tree | 4b666332820637aee645cca30e4b7f40f2865990 /pactest/tests/remove041.py | |
parent | 68200676d2828f159d5dbdf184c3ad7de42c66d6 (diff) | |
download | pacman-3cf0ee98c02e1f40954f0c2c508e16d33ca299ca.tar.gz pacman-3cf0ee98c02e1f40954f0c2c508e16d33ca299ca.tar.xz |
dload.c : only call fwrite once
I assume the loop was never iterated more than once, because the write
location was not updated at each loop iteration (buffer instead of buffer +
nwritten), yet we never had reports of corrupted download.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/remove041.py')
0 files changed, 0 insertions, 0 deletions