]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxpty.c
The `socket' function in the backends is only ever checked to see if
[PuTTY.git] / unix / uxpty.c
index 637eaa1ae6139e3303c4fdc849e34979b392cc5a..50e5371435458d3234ef1c9179374ef75f5949ad 100644 (file)
@@ -1008,10 +1008,10 @@ static const struct telnet_special *pty_get_specials(void *handle)
     return NULL;
 }
 
-static Socket pty_socket(void *handle)
+static int pty_connected(void *handle)
 {
     /* Pty pty = (Pty)handle; */
-    return NULL;                      /* shouldn't ever be needed */
+    return TRUE;
 }
 
 static int pty_sendok(void *handle)
@@ -1068,7 +1068,7 @@ Backend pty_backend = {
     pty_size,
     pty_special,
     pty_get_specials,
-    pty_socket,
+    pty_connected,
     pty_exitcode,
     pty_sendok,
     pty_ldisc,