diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-06-29 11:48:28 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-07-24 16:30:43 +0200 |
commit | 24d308455a5f8751f57219f211a5672af340099e (patch) | |
tree | 24149eff2b0527b62194e2f38a0abb861713934f /apt-pkg/contrib/srvrec.cc | |
parent | cb743d117bcc666dab4c5948b1227ed2edbd0578 (diff) |
http: Die(): Do not flush the buffer, error out instead
By changing the buffer implementation to return true if it
read or wrote something, even on EOF, we should not have a
need to flush the buffer in Die() anymore - we should only
be calling Die() if the buffer is empty now.
Diffstat (limited to 'apt-pkg/contrib/srvrec.cc')
0 files changed, 0 insertions, 0 deletions