mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -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:
@ -1754,7 +1754,7 @@ static void share_got_pkt_from_downstream(struct ssh_sharing_connstate *cs,
|
||||
(c) = (unsigned char)*data++; \
|
||||
} while (0)
|
||||
|
||||
static void share_receive(Plug *plug, int urgent, char *data, int len)
|
||||
static void share_receive(Plug *plug, int urgent, const char *data, int len)
|
||||
{
|
||||
ssh_sharing_connstate *cs = container_of(
|
||||
plug, ssh_sharing_connstate, plug);
|
||||
|
Reference in New Issue
Block a user