diff options
author | Roger Dingledine <arma@torproject.org> | 2003-10-21 09:48:17 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-10-21 09:48:17 +0000 |
commit | e4127e4d3666da72415ad5f673f2f6136531836f (patch) | |
tree | 6cffdc84c27d917b0293b1a1d1ef1503b45dedf8 /src/or/connection_or.c | |
parent | 80d428b2253e085382edcdb7b741329f9a0f36c0 (diff) | |
download | tor-e4127e4d3666da72415ad5f673f2f6136531836f.tar tor-e4127e4d3666da72415ad5f673f2f6136531836f.tar.gz |
move closer to being able to reload config on HUP
rename APPort to SocksPort
introduce new tor_free() macro
svn:r642
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index bdaf16e23..ebc24c495 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -85,8 +85,7 @@ void connection_or_init_conn_from_router(connection_t *conn, routerinfo_t *route conn->link_pkey = crypto_pk_dup_key(router->link_pkey); conn->identity_pkey = crypto_pk_dup_key(router->identity_pkey); conn->nickname = tor_strdup(router->nickname); - if(conn->address) - free(conn->address); + tor_free(conn->address); conn->address = tor_strdup(router->address); } |