mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 22:12:47 -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
ssh.c
2
ssh.c
@ -573,7 +573,7 @@ static void ssh_closing(Plug *plug, const char *error_msg, int error_code,
|
||||
}
|
||||
}
|
||||
|
||||
static void ssh_receive(Plug *plug, int urgent, char *data, int len)
|
||||
static void ssh_receive(Plug *plug, int urgent, const char *data, int len)
|
||||
{
|
||||
Ssh *ssh = container_of(plug, Ssh, plug);
|
||||
|
||||
|
Reference in New Issue
Block a user