Fix from yesterday's frontend-handle upheaval: ldisc calls
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 12 Apr 2003 09:19:09 +0000 (09:19 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3106 cda61777-01e9-0310-a592-d414129be87e

ldisc.c

diff --git a/ldisc.c b/ldisc.c
index 1febff3..e572718 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)