diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-02 23:12:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-02 23:12:32 -0400 |
commit | c4b831e92d68e6c56246ae6e5b2002ef558525ac (patch) | |
tree | d1149907147426527037f74f4a763e0cef27640a /src/or/circuitbuild.h | |
parent | 36468ec44b6dc3443b0142de83a100e2a853acf8 (diff) | |
download | tor-c4b831e92d68e6c56246ae6e5b2002ef558525ac.tar tor-c4b831e92d68e6c56246ae6e5b2002ef558525ac.tar.gz |
Small tweaks to 2841 code
- const-ify some transport_t pointers
- Remove a vestigial argument to parse_bridge_line
- Make it compile without warnings on my laptop with
--enable-gcc-warnings
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r-- | src/or/circuitbuild.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index 71ea6080e..54f82500f 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -143,7 +143,7 @@ void clear_transport_list(void); int transport_add_from_config(const tor_addr_t *addr, uint16_t port, const char *name, int socks_ver); int find_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port, - transport_t **transport); + const transport_t **transport); void validate_pluggable_transports_config(void); #endif |