aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-09-11 20:33:27 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-09-11 20:33:27 +0200
commit0dcf327248d9e971b2bad9fcd498c3b18f2f70c0 (patch)
tree81712216e38ef6b2b037de3247d01f54f086565f /src/or/connection.c
parent9bf34eb65b9533bf9a53952acf2994b9ee973ff2 (diff)
downloadtor-0dcf327248d9e971b2bad9fcd498c3b18f2f70c0.tar.gz
tor-0dcf327248d9e971b2bad9fcd498c3b18f2f70c0.zip
Remove connection_uses_transport() since it was unused.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 04dba2b9b0..05688e5a4e 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -4150,17 +4150,6 @@ get_proxy_addrport(tor_addr_t *addr, uint16_t *port, int *proxy_type,
return 0;
}
-/** Returns true if connection <b>conn</b> is using a pluggable
- * transports proxy server. */
-int
-connection_uses_transport(connection_t *conn)
-{
- const transport_t *transport=NULL;
- find_transport_by_bridge_addrport(&conn->addr,
- conn->port,&transport);
- return transport ? 1 : 0;
-}
-
/** Returns the global proxy type used by tor. */
static int
get_proxy_type(void)