diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-05-22 14:42:18 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2017-05-22 14:42:18 +0000 |
commit | 2b26ac139086c4ce3067b6d27644cb37808a9eb0 (patch) | |
tree | f3e0945a2f90f53826d8bd49dbe4d60997f04094 /src/or/directory.h | |
parent | 26795da900d7b487b80e19b804475ad7b132188d (diff) | |
download | tor-2b26ac139086c4ce3067b6d27644cb37808a9eb0.tar.gz tor-2b26ac139086c4ce3067b6d27644cb37808a9eb0.zip |
Refactor error path handling in connection_dir_client_reached_eof().
This patch lifts the return value, rv, variable to the beginning of the
function, adds a 'done' label for clean-up and function exit and makes
the rest of the function use the rv value + goto done; instead of
cleaning up in multiple places.
See: https://bugs.torproject.org/22305
Diffstat (limited to 'src/or/directory.h')
0 files changed, 0 insertions, 0 deletions