summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-13 08:06:03 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-13 08:06:03 +0000
commit03616803e6d9691825e5015c04cb50ac35f2830f (patch)
tree941dab7e8e54392ae0680e003f0f66953688d79f
parent7a3a3ae1dfebdfac115c83589f211de51e80c58d (diff)
downloadtor-03616803e6d9691825e5015c04cb50ac35f2830f.tar.gz
tor-03616803e6d9691825e5015c04cb50ac35f2830f.zip
bughunt: start tracking the bug mutiny found
svn:r906
-rw-r--r--src/or/routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 2967413ea3..daed36aad8 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -126,6 +126,8 @@ routerinfo_t *router_pick_directory_server(void) {
dirserver = router;
}
}
+ if(!dirserver)
+ log_fn(LOG_WARN,"No dirservers in directory! Returning NULL.");
return dirserver;
}