From b63013e8470a2d44036d8157344484c2f4d8c6cd Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 14 Sep 2003 06:43:18 +0000 Subject: finally tracked down the seg fault svn:r455 --- src/or/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/main.c') 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; -- cgit v1.2.3