Commit b894ccd04625afac41beedeaddbc90d3498f1dd1
1 parent
691f879e
Exists in
master
and in
3 other branches
Corrigindo compilação em windows
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
iocalls.c
| ... | ... | @@ -417,7 +417,7 @@ retry: |
| 417 | 417 | { |
| 418 | 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 | 421 | processed_any = True; |
| 422 | 422 | if (inputs_changed) |
| 423 | 423 | goto retry; |
| ... | ... | @@ -425,7 +425,7 @@ retry: |
| 425 | 425 | |
| 426 | 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 | 429 | processed_any = True; |
| 430 | 430 | if (inputs_changed) |
| 431 | 431 | goto retry; |
| ... | ... | @@ -433,7 +433,7 @@ retry: |
| 433 | 433 | |
| 434 | 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 | 437 | processed_any = True; |
| 438 | 438 | if (inputs_changed) |
| 439 | 439 | goto retry; | ... | ... |