summaryrefslogtreecommitdiff
path: root/src/or/connection_ap.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2002-09-28 00:52:59 +0000
committerRoger Dingledine <arma@torproject.org>2002-09-28 00:52:59 +0000
commit22285e6ff1190e99c509220f47adb66914b8642c (patch)
tree77559ddfb2b25bae9cae20184c4ef967d440d367 /src/or/connection_ap.c
parent6934eb9f1051c4d0e99130414a87b83c7df56349 (diff)
downloadtor-22285e6ff1190e99c509220f47adb66914b8642c.tar.gz
tor-22285e6ff1190e99c509220f47adb66914b8642c.zip
cleanup
prkey is only fetched when it's needed tor nodes who aren't dirservers now fetch directories and autoconnect to new nodes listed in the directory default role is a non-dirserver node svn:r120
Diffstat (limited to 'src/or/connection_ap.c')
-rw-r--r--src/or/connection_ap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_ap.c b/src/or/connection_ap.c
index a4f20a5649..3751beae46 100644
--- a/src/or/connection_ap.c
+++ b/src/or/connection_ap.c
@@ -393,9 +393,9 @@ int connection_ap_finished_flushing(connection_t *conn) {
}
-int connection_ap_create_listener(crypto_pk_env_t *prkey, struct sockaddr_in *local) {
+int connection_ap_create_listener(struct sockaddr_in *local) {
log(LOG_DEBUG,"connection_create_ap_listener starting");
- return connection_create_listener(prkey, local, CONN_TYPE_AP_LISTENER);
+ return connection_create_listener(local, CONN_TYPE_AP_LISTENER);
}
int connection_ap_handle_listener_read(connection_t *conn) {