Commit 3c622f36b87a1a85f49a5bc712573d961f404664

Authored by Perry Werneck
1 parent e8301961

Fixing "connect" delay.

src/core/connect.c
@@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
51 lib3270_set_url(hSession,url); 51 lib3270_set_url(hSession,url);
52 } 52 }
53 53
54 - return lib3270_reconnect(hSession, wait); 54 + return lib3270_reconnect(hSession, seconds);
55 55
56 } 56 }
57 57
src/core/windows/connect.c
@@ -394,6 +394,7 @@ int net_reconnect(H3270 *hSession, int seconds) @@ -394,6 +394,7 @@ int net_reconnect(H3270 *hSession, int seconds)
394 case LIB3270_CONNECTED_INITIAL_E: 394 case LIB3270_CONNECTED_INITIAL_E:
395 case LIB3270_CONNECTED_NVT: 395 case LIB3270_CONNECTED_NVT:
396 case LIB3270_CONNECTED_SSCP: 396 case LIB3270_CONNECTED_SSCP:
  397 + case LIB3270_RESOLVING:
397 break; 398 break;
398 399
399 case LIB3270_NOT_CONNECTED: 400 case LIB3270_NOT_CONNECTED: