aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-18 12:27:39 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-18 12:27:39 -0400
commit57c4af16f0d9e80c0adaaada61609497723f6184 (patch)
tree0b0b3f08504b6db5dcadafaaac102450e096707d /src
parentfbd2fef22014ec5ca553e35147a1b1f0b60cc612 (diff)
parent389b37246eb6310401bfc3bcb80ee2fb8dcac56b (diff)
downloadtor-57c4af16f0d9e80c0adaaada61609497723f6184.tar.gz
tor-57c4af16f0d9e80c0adaaada61609497723f6184.zip
Merge remote-tracking branch 'tor-github/pr/1396' into maint-0.4.2
Diffstat (limited to 'src')
-rw-r--r--src/feature/client/transports.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/feature/client/transports.c b/src/feature/client/transports.c
index 97bfc8ae30..3f731ac7d4 100644
--- a/src/feature/client/transports.c
+++ b/src/feature/client/transports.c
@@ -1826,15 +1826,13 @@ managed_proxy_stdout_callback(process_t *process,
managed_proxy_t *mp = process_get_data(process);
- if (BUG(mp == NULL))
+ if (mp == NULL)
return;
handle_proxy_line(line, mp);
- if (proxy_configuration_finished(mp)) {
+ if (proxy_configuration_finished(mp))
handle_finished_proxy(mp);
- tor_assert(mp->conf_state == PT_PROTO_COMPLETED);
- }
}
/** Callback function that is called when our PT process have data on its