mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
More preparatory work: remove the <windows.h> include from lots of
source files in which it's no longer required (it was previously required in anything that included <putty.h>, but not any more). Also moved a couple of stray bits of exposed WinSock back into winnet.c (getservbyname from ssh.c and AF_INET from proxy.c). [originally from svn r2160]
This commit is contained in:
5
telnet.c
5
telnet.c
@ -1,4 +1,3 @@
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -890,7 +889,7 @@ static Socket telnet_socket(void *handle)
|
||||
|
||||
static int telnet_sendok(void *handle)
|
||||
{
|
||||
Telnet telnet = (Telnet) handle;
|
||||
/* Telnet telnet = (Telnet) handle; */
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -923,7 +922,7 @@ static void telnet_provide_logctx(void *handle, void *logctx)
|
||||
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user