summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-11-20 16:07:33 +0000
committerNick Mathewson <nickm@torproject.org>2006-11-20 16:07:33 +0000
commitaef64c12772aa9f484f05fb3de85406f7d9ac5be (patch)
tree91c52eaf945463669c45f6da7ae199b5e1b4b9c6
parenta667f2e5141ad5b2d529d023ad657b1ddc10a2a7 (diff)
downloadtor-aef64c12772aa9f484f05fb3de85406f7d9ac5be.tar.gz
tor-aef64c12772aa9f484f05fb3de85406f7d9ac5be.zip
r9577@Kushana: nickm | 2006-11-20 11:07:28 -0500
Oops; fix bug in last fix. Time to get some coffee. svn:r8970
-rw-r--r--src/or/circuitbuild.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 7b414b9bb2..29a762e887 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1252,12 +1252,12 @@ choose_good_exit_server_general(routerlist_t *dir, int need_uptime,
"to list of all routers.",
need_capacity?", fast":"",
need_uptime?", stable":"");
- return choose_good_exit_server_general(dir, 0, 0);//!!!!
+ smartlist_free(preferredexits);
+ smartlist_free(excludedexits);
+ smartlist_free(sl);
+ tor_free(n_supported);
+ return choose_good_exit_server_general(dir, 0, 0);
}
- smartlist_free(preferredexits);
- smartlist_free(excludedexits);
- smartlist_free(sl);
- tor_free(n_supported);
log_notice(LD_CIRC, "All routers are down or won't exit -- choosing a "
"doomed exit at random.");
}