X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/3da06d4be43e4de6ae8488f4f4ea2811524d0aca..42466758a12a92c5efb190ee0e2884d8657c1a27:/proxy.c diff --git a/proxy.c b/proxy.c index 13a50715..8a146231 100644 --- a/proxy.c +++ b/proxy.c @@ -277,8 +277,8 @@ static int plug_proxy_accepting (Plug p, OSSocket sock) * This function can accept a NULL pointer as `addr', in which case * it will only check the host name. */ -static int proxy_for_destination (SockAddr addr, char *hostname, int port, - Conf *conf) +static int proxy_for_destination (SockAddr addr, const char *hostname, + int port, Conf *conf) { int s = 0, e = 0; char hostip[64];