/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpdr.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdpdr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 661 by astrand, Fri Apr 16 12:20:56 2004 UTC revision 662 by astrand, Fri Apr 16 14:04:02 2004 UTC
# Line 809  rdpdr_add_fds(int *n, fd_set * rfds, fd_ Line 809  rdpdr_add_fds(int *n, fd_set * rfds, fd_
809  {  {
810          uint32 select_timeout = 0;      // Timeout value to be used for select() (in millisecons).          uint32 select_timeout = 0;      // Timeout value to be used for select() (in millisecons).
811          struct async_iorequest *iorq;          struct async_iorequest *iorq;
812            char c;
813    
814          iorq = g_iorequest;          iorq = g_iorequest;
815          while (iorq != NULL)          while (iorq != NULL)
816          {          {
817                  if (iorq->fd != 0)                  /* We need to test that the fd is still valid */
818                    if ((iorq->fd != 0) && (read(iorq->fd, &c, 0) == 0))
819                  {                  {
820                          switch (iorq->major)                          switch (iorq->major)
821                          {                          {

Legend:
Removed from v.661  
changed lines
  Added in v.662

  ViewVC Help
Powered by ViewVC 1.1.26