mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -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:
@ -755,7 +755,8 @@ static void pageant_conn_log(void *logctx, const char *fmt, va_list ap)
|
||||
sfree(formatted);
|
||||
}
|
||||
|
||||
static void pageant_conn_receive(Plug *plug, int urgent, char *data, int len)
|
||||
static void pageant_conn_receive(
|
||||
Plug *plug, int urgent, const char *data, int len)
|
||||
{
|
||||
struct pageant_conn_state *pc = container_of(
|
||||
plug, struct pageant_conn_state, plug);
|
||||
|
Reference in New Issue
Block a user