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