From a6bd42ca248c1c4c12616a729cc703a1199d7833 Mon Sep 17 00:00:00 2001 From: Tim Kosse Date: Tue, 11 Aug 2015 11:27:20 +0200 Subject: [PATCH] Fix signature of platform_new_connection. The hostname is a const char *. --- pproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pproxy.c b/pproxy.c index 1bea6fb8..34e569bc 100644 --- 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)