more debugging on build_directory

svn:r281
This commit is contained in:
Nick Mathewson 2003-05-09 01:11:56 +00:00
parent 54a58c897c
commit 52604afd62

View File

@ -658,7 +658,7 @@ build_directory(directory_t *dir) {
return -1; return -1;
} }
if (my_routerinfo) { if (my_routerinfo) {
log(LOG_INFO, "build_directory(): adding self (%d:%d)", log(LOG_INFO, "build_directory(): adding self (%s:%d)",
my_routerinfo->address, my_routerinfo->or_port); my_routerinfo->address, my_routerinfo->or_port);
routers[n++] = my_routerinfo; routers[n++] = my_routerinfo;
} }
@ -675,7 +675,7 @@ build_directory(directory_t *dir) {
conn->addr,conn->port); conn->addr,conn->port);
continue; continue;
} }
log(LOG_INFO, "build_directory(): adding router (%d:%d)", log(LOG_INFO, "build_directory(): adding router (%s:%d)",
router->address, router->or_port); router->address, router->or_port);
routers[n++] = router; routers[n++] = router;
} }