X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8d5de7770cde9b808c276bd86a0214189a8f7578..b585ec4673a7aad935028067e2787c629afc1e48:/raw.c diff --git a/raw.c b/raw.c index dd0f64a1..cf6d04f8 100644 --- a/raw.c +++ b/raw.c @@ -1,7 +1,13 @@ #include #include #include +#ifndef AUTO_WINSOCK +#ifdef WINSOCK_TWO +#include +#else #include +#endif +#endif #include "putty.h" @@ -131,6 +137,11 @@ static char *raw_init (HWND hwnd, char *host, int port, char **realhost) { default: return "WSAAsyncSelect(): unknown error"; } + /* + * We have no pre-session phase. + */ + begin_session(); + return NULL; }