projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The `socket' function in the backends is only ever checked to see if
[u/mdw/putty]
/
unix
/
uxpty.c
diff --git
a/unix/uxpty.c
b/unix/uxpty.c
index
b54ed41
..
50e5371
100644
(file)
--- a/
unix/uxpty.c
+++ b/
unix/uxpty.c
@@
-865,6
+865,8
@@
static const char *pty_init(void *frontend, void **backend_handle, Config *cfg,
*backend_handle = pty;
*backend_handle = pty;
+ *realhost = dupprintf("\0");
+
return NULL;
}
return NULL;
}
@@
-1006,10
+1008,10
@@
static const struct telnet_special *pty_get_specials(void *handle)
return NULL;
}
return NULL;
}
-static
Socket pty_socket
(void *handle)
+static
int pty_connected
(void *handle)
{
/* Pty pty = (Pty)handle; */
{
/* Pty pty = (Pty)handle; */
- return
NULL; /* shouldn't ever be needed */
+ return
TRUE;
}
static int pty_sendok(void *handle)
}
static int pty_sendok(void *handle)
@@
-1066,7
+1068,7
@@
Backend pty_backend = {
pty_size,
pty_special,
pty_get_specials,
pty_size,
pty_special,
pty_get_specials,
- pty_
socket
,
+ pty_
connected
,
pty_exitcode,
pty_sendok,
pty_ldisc,
pty_exitcode,
pty_sendok,
pty_ldisc,