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]
/
telnet.c
diff --git
a/telnet.c
b/telnet.c
index
5038833
..
0d32f8c
100644
(file)
--- a/
telnet.c
+++ b/
telnet.c
@@
-1019,10
+1019,10
@@
static const struct telnet_special *telnet_get_specials(void *handle)
return specials;
}
return specials;
}
-static
Socket telnet_socket
(void *handle)
+static
int telnet_connected
(void *handle)
{
Telnet telnet = (Telnet) handle;
{
Telnet telnet = (Telnet) handle;
- return telnet->s;
+ return telnet->s
!= NULL
;
}
static int telnet_sendok(void *handle)
}
static int telnet_sendok(void *handle)
@@
-1085,7
+1085,7
@@
Backend telnet_backend = {
telnet_size,
telnet_special,
telnet_get_specials,
telnet_size,
telnet_special,
telnet_get_specials,
- telnet_
socket
,
+ telnet_
connected
,
telnet_exitcode,
telnet_sendok,
telnet_ldisc,
telnet_exitcode,
telnet_sendok,
telnet_ldisc,