Browse Source

more debugging on build_directory

svn:r281
Nick Mathewson 22 years ago
parent
commit
52604afd62
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/or/main.c

+ 2 - 2
src/or/main.c

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