diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-03-04 12:15:10 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-03-04 12:15:10 +0100 |
commit | 6a8550fa3c1a435a5c6d3759b893b10f1899e570 (patch) | |
tree | 0622523a85a361fa5ab7313e189f8ce7a4a7f51e /src/or | |
parent | a1bdb6e42cea6b2a7b6f5dfb937752f9fd997599 (diff) | |
parent | 5ad47aafabfdb9718b4beb7c3893af58a9147e2e (diff) | |
download | tor-6a8550fa3c1a435a5c6d3759b893b10f1899e570.tar.gz tor-6a8550fa3c1a435a5c6d3759b893b10f1899e570.zip |
Merge remote-tracking branch 'origin/maint-0.2.6'
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection_edge.c | 2 | ||||
-rw-r--r-- | src/or/include.am | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 3c817decfb..e6dfc634e9 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1598,7 +1598,6 @@ destination_from_socket(entry_connection_t *conn, socks_request_t *req) struct sockaddr_storage orig_dst; socklen_t orig_dst_len = sizeof(orig_dst); tor_addr_t addr; - int rv; #ifdef TRANS_TRPOXY if (options->TransProxyType_parsed == TPT_TPROXY) { @@ -1613,6 +1612,7 @@ destination_from_socket(entry_connection_t *conn, socks_request_t *req) #endif #ifdef TRANS_NETFILTER + int rv = -1; switch (ENTRY_TO_CONN(conn)->socket_family) { #ifdef TRANS_NETFILTER_IPV4 case AF_INET: diff --git a/src/or/include.am b/src/or/include.am index b44e1099dc..e257ceb8cc 100644 --- a/src/or/include.am +++ b/src/or/include.am @@ -190,6 +190,7 @@ ORHEADERS = \ noinst_HEADERS+= $(ORHEADERS) micro-revision.i src/or/config_codedigest.o: src/or/or_sha1.i +src/or/src_or_libtor_testing_a-config_codedigest.o: src/or/or_sha1.i micro-revision.i: FORCE @rm -f micro-revision.tmp; \ |