summaryrefslogtreecommitdiff
path: root/cmdline/apt-mark.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-07-03 14:33:15 +0200
committerJulian Andres Klode <jak@debian.org>2017-07-03 15:06:26 +0200
commitf3b9e58cc5e6878daff9cf127bd00587d1f715d3 (patch)
tree571a6f3945a399844272941778bf769df047e62f /cmdline/apt-mark.cc
parent55673e5476f86ffae8969bfc3a47237f3eeb7720 (diff)
Swap file descriptors before the handshake
This makes more sense. If the handshake failed midway, we still should run the gnutls bye stuff. The thinking here is to only set the fd after the session setup, as we do not modify it before, so if it fails in session setup, you retain a usable file descriptor. Gbp-Dch: ignore
Diffstat (limited to 'cmdline/apt-mark.cc')
0 files changed, 0 insertions, 0 deletions