1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-12 16:47:42 -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:
Simon Tatham
2019-02-06 20:18:19 +00:00
parent eb16dee2a4
commit 0aa8cf7b0d
22 changed files with 27 additions and 24 deletions

View File

@ -133,7 +133,7 @@ static void server_closing(Plug *plug, const char *error_msg, int error_code,
}
}
static void server_receive(Plug *plug, int urgent, char *data, int len)
static void server_receive(Plug *plug, int urgent, const char *data, int len)
{
server *srv = container_of(plug, server, plug);