[or-cvs] remove some unused code (i think)
arma at seul.org
arma at seul.org
Mon Jun 5 08:02:06 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
connection_or.c
Log Message:
remove some unused code (i think)
Index: connection_or.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_or.c,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -p -d -r1.218 -r1.219
--- connection_or.c 30 May 2006 06:23:44 -0000 1.218
+++ connection_or.c 5 Jun 2006 08:02:04 -0000 1.219
@@ -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;
}
More information about the tor-commits
mailing list