X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/7a740703aba7a59d6ed578ec6b311f47036cb71f..818ab3bbbe73842da6b50d75ad4a64e40de5e2e6:/rlogin.c diff --git a/rlogin.c b/rlogin.c index b566db73..74e8268b 100644 --- a/rlogin.c +++ b/rlogin.c @@ -19,7 +19,7 @@ static int rlogin_bufsize; static int rlogin_term_width, rlogin_term_height; static void *frontend; -static void rlogin_size(void); +static void rlogin_size(int width, int height); static void c_write(char *buf, int len) { @@ -50,7 +50,7 @@ static int rlogin_receive(Plug plug, int urgent, char *data, int len) c = *data++; len--; if (c == '\x80') - rlogin_size(); + rlogin_size(rlogin_term_width, rlogin_term_height); /* * We should flush everything (aka Telnet SYNCH) if we see * 0x02, and we should turn off and on _local_ flow control