diff --git a/telnet.c b/telnet.c index c075480..73d0360 100644 --- a/telnet.c +++ b/telnet.c @@ -963,9 +963,9 @@ void net_input(H3270 *session) CHECK_SESSION_HANDLE(session); -//#if defined(_WIN32) -// for (;;) -//#endif +#if defined(_WIN32) + for (;;) +#endif { if (session->sock < 0) return; @@ -1003,6 +1003,10 @@ void net_input(H3270 *session) ansi_data = 0; #endif /*]*/ +#if defined(_WIN32) + ResetEvent(session->sockEvent); +#endif + #if defined(HAVE_LIBSSL) if (session->ssl_con != NULL) nr = SSL_read(session->ssl_con, (char *) netrbuf, BUFSZ); -- libgit2 0.21.2