X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/492a04dbc27f0ccb0d8d4fcc8da529df0cd254c9..e0e7dff87dc3f482da6ab00317664474b0f82995:/network.h diff --git a/network.h b/network.h index e9ad518d..673831fb 100644 --- a/network.h +++ b/network.h @@ -24,8 +24,8 @@ struct socket_function_table { /* if p is NULL, it doesn't change the plug */ /* but it does return the one it's using */ void (*close) (Socket s); - int (*write) (Socket s, char *data, int len); - int (*write_oob) (Socket s, char *data, int len); + int (*write) (Socket s, const char *data, int len); + int (*write_oob) (Socket s, const char *data, int len); void (*flush) (Socket s); void (*set_private_ptr) (Socket s, void *ptr); void *(*get_private_ptr) (Socket s);