diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-10-03 22:04:24 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-10-03 22:04:24 +0100 |
commit | 160ef8ca5553207026e24a954cc139dc0cf75640 (patch) | |
tree | beb85f630140bf6f991f11d3fe13ace9b642529e | |
parent | b3765932b14d24fbc54b3f83e2fe865df48bc2f3 (diff) |
SOCKS: fix function prototype
-rw-r--r-- | src/src/transports/smtp.h | 4 | ||||
-rw-r--r-- | src/src/transports/smtp_socks.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/src/transports/smtp.h b/src/src/transports/smtp.h index 87ee16069..2aeab9add 100644 --- a/src/src/transports/smtp.h +++ b/src/src/transports/smtp.h @@ -111,8 +111,8 @@ extern int smtp_auth(uschar *, unsigned, address_item *, host_item *, extern BOOL smtp_mail_auth_str(uschar *, unsigned, address_item *, smtp_transport_options_block *); -#ifdef EXPERMENTAL_SOCKS -extern int socks_sock_connect(host_item, int, int, uschar *, +#ifdef EXPERIMENTAL_SOCKS +extern int socks_sock_connect(host_item *, int, int, uschar *, transport_instance *, int); #endif diff --git a/src/src/transports/smtp_socks.c b/src/src/transports/smtp_socks.c index 77f71ba36..a5c4fde10 100644 --- a/src/src/transports/smtp_socks.c +++ b/src/src/transports/smtp_socks.c @@ -150,7 +150,6 @@ Return value: int socks_sock_connect(host_item * host, int host_af, int port, uschar * interface, transport_instance * tb, int timeout) - { smtp_transport_options_block * ob = (smtp_transport_options_block *)tb->options_block; |