]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix from yesterday's frontend-handle upheaval: ldisc calls
authorSimon Tatham <anakin@pobox.com>
Sat, 12 Apr 2003 09:19:09 +0000 (09:19 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 12 Apr 2003 09:19:09 +0000 (09:19 +0000)
from_backend(), and must now pass its frontend handle rather than
its terminal handle.

[originally from svn r3106]

ldisc.c

diff --git a/ldisc.c b/ldisc.c
index 1febff3dd602d014e3bcea83a50a9fd9f1d90c99..e57271860f24014aa161c82d2e660e83fba064a3 100644 (file)
--- a/ldisc.c
+++ b/ldisc.c
@@ -23,7 +23,7 @@
 
 static void c_write(Ldisc ldisc, char *buf, int len)
 {
-    from_backend(ldisc->term, 0, buf, len);
+    from_backend(ldisc->frontend, 0, buf, len);
 }
 
 static int plen(Ldisc ldisc, unsigned char c)