SOCKS: fix function prototype
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 3 Oct 2015 21:04:24 +0000 (22:04 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 3 Oct 2015 21:04:24 +0000 (22:04 +0100)
src/src/transports/smtp.h
src/src/transports/smtp_socks.c

index 87ee160..2aeab9a 100644 (file)
@@ -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
 
index 77f71ba..a5c4fde 100644 (file)
@@ -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;