Fix an always-true assert in PT code.

This commit is contained in:
George Kadianakis
2013-10-29 22:49:37 +00:00
parent 4b6f074df9
commit 9e0ed8136a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes:
- Fix an always-true assertion in pluggable transports code. Fixes
issue 10046. Found by dcb.
+1 -1
View File
@@ -552,7 +552,7 @@ pt_configure_remaining_proxies(void)
assert_unconfigured_count_ok();
SMARTLIST_FOREACH_BEGIN(tmp, managed_proxy_t *, mp) {
tor_assert(mp->conf_state != PT_PROTO_BROKEN ||
tor_assert(mp->conf_state != PT_PROTO_BROKEN &&
mp->conf_state != PT_PROTO_FAILED_LAUNCH);
if (mp->got_hup) {