From b894ccd04625afac41beedeaddbc90d3498f1dd1 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Tue, 24 Mar 2015 18:24:18 +0000 Subject: [PATCH] Corrigindo compilação em windows --- iocalls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iocalls.c b/iocalls.c index acaf3cd..e4ae777 100644 --- a/iocalls.c +++ b/iocalls.c @@ -417,7 +417,7 @@ retry: { if((ip->flag & LIB3270_IO_FLAG_READ) && FD_ISSET(ip->fd, &rfds)) { - (*ip->proc)(ip->session); + (*ip->call)(ip->session,ip->fd,LIB3270_IO_FLAG_READ,ip->userdata); processed_any = True; if (inputs_changed) goto retry; @@ -425,7 +425,7 @@ retry: if ((ip->flag & LIB3270_IO_FLAG_WRITE) && FD_ISSET(ip->fd, &wfds)) { - (*ip->proc)(ip->session); + (*ip->call)(ip->session,ip->fd,LIB3270_IO_FLAG_WRITE,ip->userdata); processed_any = True; if (inputs_changed) goto retry; @@ -433,7 +433,7 @@ retry: if ((ip->flag & LIB3270_IO_FLAG_EXCEPTION) && FD_ISSET(ip->fd, &xfds)) { - (*ip->proc)(ip->session); + (*ip->call)(ip->session,ip->fd,LIB3270_IO_FLAG_EXCEPTION,ip->userdata); processed_any = True; if (inputs_changed) goto retry; -- libgit2 0.21.2