X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/492a04dbc27f0ccb0d8d4fcc8da529df0cd254c9..e0e7dff87dc3f482da6ab00317664474b0f82995:/proxy.c diff --git a/proxy.c b/proxy.c index ce310012..a4847b9a 100644 --- a/proxy.c +++ b/proxy.c @@ -91,7 +91,7 @@ static void sk_proxy_close (Socket s) sfree(ps); } -static int sk_proxy_write (Socket s, char *data, int len) +static int sk_proxy_write (Socket s, const char *data, int len) { Proxy_Socket ps = (Proxy_Socket) s; @@ -102,7 +102,7 @@ static int sk_proxy_write (Socket s, char *data, int len) return sk_write(ps->sub_socket, data, len); } -static int sk_proxy_write_oob (Socket s, char *data, int len) +static int sk_proxy_write_oob (Socket s, const char *data, int len) { Proxy_Socket ps = (Proxy_Socket) s;