summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-04-11 18:21:18 +0000
committerRoger Dingledine <arma@torproject.org>2009-04-11 18:21:18 +0000
commit9c6b135e1a0346c5634dca37b42490fd847c532b (patch)
tree176b9e8142283a029f36bb933e3478c8c5249115
parentfa003351aeafc240255c338713cbbf0eb3fc2f11 (diff)
downloadtor-9c6b135e1a0346c5634dca37b42490fd847c532b.tar.gz
tor-9c6b135e1a0346c5634dca37b42490fd847c532b.zip
play make-believe that addr isn't a uint32_t
svn:r19293
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 4f12d54e88..fd250a36a9 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2796,7 +2796,7 @@ connection_exit_connect_dir(edge_connection_t *exitconn)
dirconn = dir_connection_new(AF_INET);
- dirconn->_base.addr = exitconn->_base.addr;
+ tor_addr_assign(&dirconn->_base.addr, &exitconn->_base.addr);
dirconn->_base.port = 0;
dirconn->_base.address = tor_strdup(exitconn->address);
dirconn->_base.type = CONN_TYPE_DIR;