summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-09 13:36:40 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-09 13:36:40 -0400
commitacd6a4856bccff92eb241b18066ca7df577ab5f2 (patch)
tree153eb944a6f61e3591831b3fde0385ee4e51e5bd /src/or/connection.c
parente36f9d1d9beec0daed57b68f936293dccc77b171 (diff)
parent0b3166fffa0e5e19c63fd95538f87d634444d28c (diff)
downloadtor-acd6a4856bccff92eb241b18066ca7df577ab5f2.tar.gz
tor-acd6a4856bccff92eb241b18066ca7df577ab5f2.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts: src/or/connection.c
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 02ae7ee7a0..e7f2b0051d 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1283,7 +1283,7 @@ connection_connect(connection_t *conn, const char *address,
{
int s, inprogress = 0;
char addrbuf[256];
- struct sockaddr *dest_addr = (struct sockaddr*) addrbuf;
+ struct sockaddr *dest_addr;
int dest_addr_len;
or_options_t *options = get_options();
int protocol_family;