From 152d6d13b43685cf599cc15715fcf6ef1a190447 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 5 Jun 2006 08:02:04 +0000 Subject: [PATCH] remove some unused code (i think) svn:r6539 --- src/or/connection_or.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 08006e914d..6d543a453b 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -431,13 +431,11 @@ connection_t * connection_or_connect(uint32_t addr, uint16_t port, const char *id_digest) { connection_t *conn; - routerinfo_t *me; or_options_t *options = get_options(); tor_assert(id_digest); - if (server_mode(options) && (me=router_get_my_routerinfo()) && - router_digest_is_me(id_digest)) { + if (server_mode(options) && router_digest_is_me(id_digest)) { log_info(LD_PROTOCOL,"Client asked me to connect to myself. Refusing."); return NULL; }