diff options
Diffstat (limited to 'src/or/transports.h')
-rw-r--r-- | src/or/transports.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/transports.h b/src/or/transports.h index e368e447c3..9f348f58ee 100644 --- a/src/or/transports.h +++ b/src/or/transports.h @@ -35,7 +35,8 @@ void sweep_transport_list(void); MOCK_DECL(int, transport_add_from_config, (const tor_addr_t *addr, uint16_t port, const char *name, int socks_ver)); -void transport_free(transport_t *transport); +void transport_free_(transport_t *transport); +#define transport_free(tr) FREE_AND_NULL(transport, (tr)) transport_t *transport_get_by_name(const char *name); |