diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-08-21 10:49:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-08-22 12:23:01 -0400 |
commit | d31bcc4b235c98ffb1b9a2c4fead7fb61d71fe75 (patch) | |
tree | 913b3fbc45c84e14f4a343f7507672320521cbfe /src/or/circuitlist.c | |
parent | a8cc41a2303b9f6c8cffa6b69cd759760d91226e (diff) | |
download | tor-d31bcc4b235c98ffb1b9a2c4fead7fb61d71fe75.tar.gz tor-d31bcc4b235c98ffb1b9a2c4fead7fb61d71fe75.zip |
Tidy status handling in rendservice.c
We had some code to fix up the 'status' return value to -1 on error
if it wasn't set, but it was unreachable because our code was
correct. Tweak this by initializing status to -1, and then only
setting it to 0 on success. Also add a goto which was missing: its
absence was harmless.
[CID 718614, 718616]
Diffstat (limited to 'src/or/circuitlist.c')
0 files changed, 0 insertions, 0 deletions