summaryrefslogtreecommitdiff
path: root/apt-private/acqprogress.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-19 13:07:12 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-19 13:13:02 +0100
commit39e77e45ae627165a8f89d83a8f875251920ce05 (patch)
treeac424004186649cb4a3372e0352c5f0db2daf8bb /apt-private/acqprogress.cc
parent5df91bc70aeac9f39f33d748a3b5602fbf2a3e81 (diff)
Do not try to read in FileFd::Read() if Size is 0
There's no point trying to read 0 bytes, so let's just not do this and switch to a while loop like in Write(). Gbp-Dch: ignore
Diffstat (limited to 'apt-private/acqprogress.cc')
0 files changed, 0 insertions, 0 deletions