projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce a sane interface function, from_backend(), for backends to
[u/mdw/putty]
/
telnet.c
diff --git
a/telnet.c
b/telnet.c
index
9718348
..
7b6c0bf
100644
(file)
--- a/
telnet.c
+++ b/
telnet.c
@@
-171,6
+171,11
@@
static void s_write (void *buf, int len) {
try_write();
}
try_write();
}
+static void c_write1(int c) {
+ char cc = (char)c;
+ from_backend(0, &cc, 1);
+}
+
static void log_option (char *sender, int cmd, int option) {
char buf[50];
sprintf(buf, "%s:\t%s %s", sender,
static void log_option (char *sender, int cmd, int option) {
char buf[50];
sprintf(buf, "%s:\t%s %s", sender,