diff options
Diffstat (limited to 'src/or/proto_socks.h')
-rw-r--r-- | src/or/proto_socks.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/proto_socks.h b/src/or/proto_socks.h index a714151414..423362cdec 100644 --- a/src/or/proto_socks.h +++ b/src/or/proto_socks.h @@ -11,7 +11,8 @@ struct socks_request_t; struct buf_t; struct socks_request_t *socks_request_new(void); -void socks_request_free(struct socks_request_t *req); +void socks_request_free_(struct socks_request_t *req); +#define socks_request_free(req) FREE_AND_NULL(socks_request, (req)) int fetch_from_buf_socks(struct buf_t *buf, socks_request_t *req, int log_sockstype, int safe_socks); int fetch_from_buf_socks_client(buf_t *buf, int state, char **reason); |