diff --git a/iocalls.c b/iocalls.c index d8f9fe8..945c19e 100644 --- a/iocalls.c +++ b/iocalls.c @@ -686,6 +686,8 @@ LIB3270_EXPORT int lib3270_wait_for_ready(H3270 *hSession, int seconds) { time_t end = time(0)+seconds; + event_dispatcher(hSession,0); + if(!lib3270_lock_status(hSession)) return 0; -- libgit2 0.21.2