X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/616741f32a737383dac1d19a7ef9020dabc39d45..6226c9390d23d6868edde63b9568891cd88631cc:/unix/uxpty.c diff --git a/unix/uxpty.c b/unix/uxpty.c index 637eaa1a..50e53714 100644 --- a/unix/uxpty.c +++ b/unix/uxpty.c @@ -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,