projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More preparatory work: remove the <windows.h> include from lots of
[u/mdw/putty]
/
telnet.c
diff --git
a/telnet.c
b/telnet.c
index
1f1a89e
..
18c7d0e
100644
(file)
--- a/
telnet.c
+++ b/
telnet.c
@@
-1,4
+1,3
@@
-#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
@@
-890,7
+889,7
@@
static Socket telnet_socket(void *handle)
static int telnet_sendok(void *handle)
{
static int telnet_sendok(void *handle)
{
- Telnet telnet = (Telnet) handle;
+ /* Telnet telnet = (Telnet) handle; */
return 1;
}
return 1;
}
@@
-923,7
+922,7
@@
static void telnet_provide_logctx(void *handle, void *logctx)
static int telnet_exitcode(void *handle)
{
static int telnet_exitcode(void *handle)
{
- Telnet telnet = (Telnet) handle;
+ /* Telnet telnet = (Telnet) handle; */
/* Telnet doesn't transmit exit codes back to the client */
return 0;
}
/* Telnet doesn't transmit exit codes back to the client */
return 0;
}