mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 17:17:37 -05:00
Add some missing 'const'.
plug_receive(), sftp_senddata() and handle_gotdata() in particular now take const pointers. Also fixed 'char *receive_data' in struct ProxySocket.
This commit is contained in:
2
proxy.c
2
proxy.c
@ -214,7 +214,7 @@ static void plug_proxy_closing (Plug *p, const char *error_msg,
|
||||
}
|
||||
}
|
||||
|
||||
static void plug_proxy_receive (Plug *p, int urgent, char *data, int len)
|
||||
static void plug_proxy_receive (Plug *p, int urgent, const char *data, int len)
|
||||
{
|
||||
ProxySocket *ps = container_of(p, ProxySocket, plugimpl);
|
||||
|
||||
|
Reference in New Issue
Block a user