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 87ee16069cd603b4eedc42fe11d28e8575bcb83e..2aeab9add4441cc9bf065f5edf3f2ab569ac7581 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 77f71ba361460c30b14d7c02482e795ca09eed92..a5c4fde106d77695161ba6f8a7d6513b82244564 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;