From 3c622f36b87a1a85f49a5bc712573d961f404664 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 15 Aug 2019 17:04:08 -0300 Subject: [PATCH] Fixing "connect" delay. --- src/core/connect.c | 2 +- src/core/windows/connect.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/connect.c b/src/core/connect.c index 1814b97..fc3dec5 100644 --- a/src/core/connect.c +++ b/src/core/connect.c @@ -51,7 +51,7 @@ lib3270_set_url(hSession,url); } - return lib3270_reconnect(hSession, wait); + return lib3270_reconnect(hSession, seconds); } diff --git a/src/core/windows/connect.c b/src/core/windows/connect.c index 1fd2cd5..c4cdb59 100644 --- a/src/core/windows/connect.c +++ b/src/core/windows/connect.c @@ -394,6 +394,7 @@ int net_reconnect(H3270 *hSession, int seconds) case LIB3270_CONNECTED_INITIAL_E: case LIB3270_CONNECTED_NVT: case LIB3270_CONNECTED_SSCP: + case LIB3270_RESOLVING: break; case LIB3270_NOT_CONNECTED: -- libgit2 0.21.2