diff options
author | teor <teor2345@gmail.com> | 2017-03-01 16:22:37 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2017-03-01 16:22:37 +1100 |
commit | 934003587305dcfb2cbc7f01e7248e3bd378317b (patch) | |
tree | 34c240f7a3f7e665ddebcd94b0f58af38da26f5f | |
parent | efa5bbaba07d20d1aacff7d1d2a5fe08a6ec2d72 (diff) | |
download | tor-934003587305dcfb2cbc7f01e7248e3bd378317b.tar.gz tor-934003587305dcfb2cbc7f01e7248e3bd378317b.zip |
Remove the unused field or_connection_t.is_connection_with_client
To discover if a connection is from a tor client, use:
channel_is_client(TLS_CHAN_TO_BASE(or_connection_t.chan))
Part of 21406.
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h index 0db9f23604..a1a0bd4a20 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1543,10 +1543,6 @@ typedef struct or_connection_t { * NETINFO cell listed the address we're connected to as recognized. */ unsigned int is_canonical:1; - /** True iff we have decided that the other end of this connection - * is a client. Connections with this flag set should never be used - * to satisfy an EXTEND request. */ - unsigned int is_connection_with_client:1; /** True iff this is an outgoing connection. */ unsigned int is_outgoing:1; unsigned int proxy_type:2; /**< One of PROXY_NONE...PROXY_SOCKS5 */ |