From 9c6b135e1a0346c5634dca37b42490fd847c532b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 11 Apr 2009 18:21:18 +0000 Subject: play make-believe that addr isn't a uint32_t svn:r19293 --- src/or/connection_edge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or') 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; -- cgit v1.2.3-54-g00ecf