diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-25 19:04:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-25 19:04:11 +0000 |
commit | 0fca143ea1699ffa68fab34ba329c7b2db2c7bca (patch) | |
tree | aedce9da44314415baf347313cb8026625285b68 /src/or/onion.c | |
parent | cb3897e5abf2e93b240f5bee2baf32ada9eaa652 (diff) | |
download | tor-0fca143ea1699ffa68fab34ba329c7b2db2c7bca.tar.gz tor-0fca143ea1699ffa68fab34ba329c7b2db2c7bca.zip |
Remove onion_pkey from connection, since onion keys can change more often than connections. Also add more log messages
svn:r1693
Diffstat (limited to 'src/or/onion.c')
-rw-r--r-- | src/or/onion.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index 7ad736e954..ac44c0035f 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -402,8 +402,9 @@ static int count_acceptable_routers(smartlist_t *routers) { n = smartlist_len(routers); for(i=0;i<n;i++) { - log_fn(LOG_DEBUG,"Contemplating whether router %d is a new option...",i); r = smartlist_get(routers, i); + log_fn(LOG_DEBUG,"Contemplating whether router %d (%s) is a new option...", + i, r->nickname); if(r->is_running == 0) { log_fn(LOG_DEBUG,"Nope, the directory says %d is not running.",i); goto next_i_loop; @@ -426,7 +427,7 @@ static int count_acceptable_routers(smartlist_t *routers) { num++; log_fn(LOG_DEBUG,"I like %d. num_acceptable_routers now %d.",i, num); next_i_loop: - ; /* our compiler may need an explicit statement after the label */ + ; /* C requires an explicit statement after the label */ } return num; |