aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-14 06:43:18 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-14 06:43:18 +0000
commitb63013e8470a2d44036d8157344484c2f4d8c6cd (patch)
tree9cd32da5d6d23caab101f685056daedf03632990 /src/or/main.c
parente585dad88776719bd72faaa7225dbdec230c929a (diff)
downloadtor-b63013e8470a2d44036d8157344484c2f4d8c6cd.tar
tor-b63013e8470a2d44036d8157344484c2f4d8c6cd.tar.gz
finally tracked down the seg fault
svn:r455
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 6b1277720..3fe57fcdb 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -676,6 +676,7 @@ build_directory(directory_t *dir) {
continue; /* we only want to list ones that successfully handshaked */
router = router_get_by_addr_port(conn->addr,conn->port);
if(!router) {
+ /* XXX this legitimately happens when conn is an OP. How to detect this? */
log(LOG_ERR,"build_directory(): couldn't find router %d:%d!",
conn->addr,conn->port);
continue;