aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-02-09 20:29:02 -0500
committerRoger Dingledine <arma@torproject.org>2013-02-09 20:49:55 -0500
commitccaefd65a4b8a991e81cb4720343000dbc931eb3 (patch)
treef7691077309302db5e2e409b3f719a7c070d2f8d /src/or/router.c
parent99185397de44a093456890404b3bb6fbebc3e4ef (diff)
downloadtor-ccaefd65a4b8a991e81cb4720343000dbc931eb3.tar
tor-ccaefd65a4b8a991e81cb4720343000dbc931eb3.tar.gz
stop passing "address" around the directory_initiate_command* funcs
since it was always just the string version of "addr" anyway
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 3fd8b3c07..347354ad7 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1143,7 +1143,7 @@ consider_testing_reachability(int test_or, int test_dir)
CONN_TYPE_DIR, &addr, me->dir_port,
DIR_PURPOSE_FETCH_SERVERDESC)) {
/* ask myself, via tor, for my server descriptor. */
- directory_initiate_command(me->address, &addr,
+ directory_initiate_command(&addr,
me->or_port, me->dir_port,
me->cache_info.identity_digest,
DIR_PURPOSE_FETCH_SERVERDESC,