projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes for (Backend)->size() changes -- internal declarations didn't include
[u/mdw/putty]
/
rlogin.c
diff --git
a/rlogin.c
b/rlogin.c
index
b566db7
..
74e8268
100644
(file)
--- 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 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)
{
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')
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
/*
* We should flush everything (aka Telnet SYNCH) if we see
* 0x02, and we should turn off and on _local_ flow control