[tor-commits] [tor/release-0.2.2] Remove a duplicated line, found by clang
arma at torproject.org
arma at torproject.org
Wed May 11 03:24:25 UTC 2011
commit d7d25558fafbff15fb10c6e226824f9f0f6d99c7
Author: Sebastian Hahn <sebastian at torproject.org>
Date: Tue Apr 26 04:45:48 2011 +0200
Remove a duplicated line, found by clang
---
src/or/connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/connection.c b/src/or/connection.c
index 6e7bbd5..fc2097f 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1240,7 +1240,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;
socklen_t dest_addr_len;
or_options_t *options = get_options();
int protocol_family;
More information about the tor-commits
mailing list