summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-05 09:51:49 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-05 09:51:49 +0000
commite0952d07735c60cbe420cec74b7e95c8d3eb61f0 (patch)
treec670f9c9f7c7c81cbdc30978669861fc765b85ea /src/or/test.c
parent727a260a81f7313d391fc95bebf21bcf745d5294 (diff)
downloadtor-e0952d07735c60cbe420cec74b7e95c8d3eb61f0.tar.gz
tor-e0952d07735c60cbe420cec74b7e95c8d3eb61f0.zip
terminology shift:
directory is the string that dirserv.c and directory.c deal with routerlist is routerinfo's that are bundled together in routers.c rename some of the get_routerlist functions to set_routerlist preparing to break into router.c for stuff the router does, and routerlist.c for handling routerlist. svn:r886
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 9f2c97edcb..ef830d5449 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -534,7 +534,7 @@ test_dir_format()
crypto_pk_env_t *pk1 = NULL, *pk2 = NULL, *pk3 = NULL;
routerinfo_t *rp1 = NULL, *rp2 = NULL;
struct exit_policy_t ex1, ex2;
- directory_t *dir1 = NULL, *dir2 = NULL;
+ routerlist_t *dir1 = NULL, *dir2 = NULL;
test_assert( (pk1 = crypto_new_pk_env(CRYPTO_PK_RSA)) );
test_assert( (pk2 = crypto_new_pk_env(CRYPTO_PK_RSA)) );