1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-18 19:41:01 -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

2
sftp.h
View File

@ -70,7 +70,7 @@
* sftp_sendbuffer returns the size of the backlog of data in the
* transmit queue.
*/
bool sftp_senddata(char *data, int len);
bool sftp_senddata(const char *data, int len);
int sftp_sendbuffer(void);
bool sftp_recvdata(char *data, int len);