Commit 79fb2e4aa93a25af16cde3dc9372c100482c5afc
1 parent
f9b10b73
Exists in
master
and in
5 other branches
Corrigindo compilação em windows
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/lib3270/iocalls.c
@@ -417,7 +417,7 @@ retry: | @@ -417,7 +417,7 @@ retry: | ||
417 | { | 417 | { |
418 | if((ip->flag & LIB3270_IO_FLAG_READ) && FD_ISSET(ip->fd, &rfds)) | 418 | if((ip->flag & LIB3270_IO_FLAG_READ) && FD_ISSET(ip->fd, &rfds)) |
419 | { | 419 | { |
420 | - (*ip->proc)(ip->session); | 420 | + (*ip->call)(ip->session,ip->fd,LIB3270_IO_FLAG_READ,ip->userdata); |
421 | processed_any = True; | 421 | processed_any = True; |
422 | if (inputs_changed) | 422 | if (inputs_changed) |
423 | goto retry; | 423 | goto retry; |
@@ -425,7 +425,7 @@ retry: | @@ -425,7 +425,7 @@ retry: | ||
425 | 425 | ||
426 | if ((ip->flag & LIB3270_IO_FLAG_WRITE) && FD_ISSET(ip->fd, &wfds)) | 426 | if ((ip->flag & LIB3270_IO_FLAG_WRITE) && FD_ISSET(ip->fd, &wfds)) |
427 | { | 427 | { |
428 | - (*ip->proc)(ip->session); | 428 | + (*ip->call)(ip->session,ip->fd,LIB3270_IO_FLAG_WRITE,ip->userdata); |
429 | processed_any = True; | 429 | processed_any = True; |
430 | if (inputs_changed) | 430 | if (inputs_changed) |
431 | goto retry; | 431 | goto retry; |
@@ -433,7 +433,7 @@ retry: | @@ -433,7 +433,7 @@ retry: | ||
433 | 433 | ||
434 | if ((ip->flag & LIB3270_IO_FLAG_EXCEPTION) && FD_ISSET(ip->fd, &xfds)) | 434 | if ((ip->flag & LIB3270_IO_FLAG_EXCEPTION) && FD_ISSET(ip->fd, &xfds)) |
435 | { | 435 | { |
436 | - (*ip->proc)(ip->session); | 436 | + (*ip->call)(ip->session,ip->fd,LIB3270_IO_FLAG_EXCEPTION,ip->userdata); |
437 | processed_any = True; | 437 | processed_any = True; |
438 | if (inputs_changed) | 438 | if (inputs_changed) |
439 | goto retry; | 439 | goto retry; |