]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix signature of platform_new_connection.
authorTim Kosse <tim.kosse@filezilla-project.org>
Tue, 11 Aug 2015 09:27:20 +0000 (11:27 +0200)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Aug 2015 12:54:55 +0000 (13:54 +0100)
The hostname is a const char *.

pproxy.c

index 1bea6fb84a06e648061ff6f48aaabcd48975d507..34e569bce6291eb36ce05bde9bda778011ef1d3e 100644 (file)
--- a/pproxy.c
+++ b/pproxy.c
@@ -8,7 +8,7 @@
 #include "network.h"
 #include "proxy.h"
 
-Socket platform_new_connection(SockAddr addr, char *hostname,
+Socket platform_new_connection(SockAddr addr, const char *hostname,
                               int port, int privport,
                               int oobinline, int nodelay, int keepalive,
                               Plug plug, Conf *conf)