X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/32874aeac8dacbca26663777b39a79efc5d8dc4b..2d466ffd08675d26db45e524c2fe6a8cf4628e2b:/raw.c diff --git a/raw.c b/raw.c index 61061769..f5b93f79 100644 --- a/raw.c +++ b/raw.c @@ -15,11 +15,6 @@ static Socket s = NULL; static void raw_size(void); -static int sb_opt, sb_len; -static char *sb_buf = NULL; -static int sb_size = 0; -#define SB_DELTA 1024 - static void c_write(char *buf, int len) { from_backend(0, buf, len); @@ -48,7 +43,8 @@ static int raw_receive(Plug plug, int urgent, char *data, int len) * * Returns an error message, or NULL on success. * - * Also places the canonical host name into `realhost'. + * Also places the canonical host name into `realhost'. It must be + * freed by the caller. */ static char *raw_init(char *host, int port, char **realhost) {