aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-03-08 15:20:48 -0500
committerNick Mathewson <nickm@torproject.org>2011-03-08 15:20:48 -0500
commit9ad083d5731c983ea3e961822306c50ce32dfcc2 (patch)
treeaa99fb2c0abd436cfd049458a68d913de5988db7 /src/or
parent95edd51116c17327f314bc132a0a5f86499e410a (diff)
parent9a6df215395750286383eed77f3c49d2b3ef34df (diff)
downloadtor-9ad083d5731c983ea3e961822306c50ce32dfcc2.tar.gz
tor-9ad083d5731c983ea3e961822306c50ce32dfcc2.zip
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Diffstat (limited to 'src/or')
-rw-r--r--src/or/circuitbuild.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index b3c9f0e1b5..6be27d29e7 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -4728,7 +4728,8 @@ any_pending_bridge_descriptor_fetches(void)
conn->purpose == DIR_PURPOSE_FETCH_SERVERDESC &&
TO_DIR_CONN(conn)->router_purpose == ROUTER_PURPOSE_BRIDGE &&
!conn->marked_for_close &&
- conn->linked && !conn->linked_conn->marked_for_close) {
+ conn->linked &&
+ conn->linked_conn && !conn->linked_conn->marked_for_close) {
log_debug(LD_DIR, "found one: %s", conn->address);
return 1;
}