/[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 601 by n-ki, Fri Feb 6 10:32:13 2004 UTC revision 602 by stargo, Sat Feb 7 17:32:21 2004 UTC
# Line 836  rdpdr_check_fds(fd_set * rfds, fd_set * Line 836  rdpdr_check_fds(fd_set * rfds, fd_set *
836                                                          status = STATUS_SUCCESS;                                                          status = STATUS_SUCCESS;
837                                                          rdpdr_send_completion(iorq->device,                                                          rdpdr_send_completion(iorq->device,
838                                                                                iorq->id, status,                                                                                iorq->id, status,
839                                                                                iorq->partial_len, "",                                                                                iorq->partial_len, (uint8*)"",
840                                                                                1);                                                                                1);
841    
842                                                          xfree(iorq->buffer);                                                          xfree(iorq->buffer);
# Line 872  rdpdr_abort_io(uint32 fd, uint32 major, Line 872  rdpdr_abort_io(uint32 fd, uint32 major,
872          struct async_iorequest *iorq;          struct async_iorequest *iorq;
873          struct async_iorequest *prev;          struct async_iorequest *prev;
874    
875          iorq = &g_iorequest;          iorq = g_iorequest;
876          prev = NULL;          prev = NULL;
877          while (iorq != NULL)          while (iorq != NULL)
878          {          {
# Line 881  rdpdr_abort_io(uint32 fd, uint32 major, Line 881  rdpdr_abort_io(uint32 fd, uint32 major,
881                  if ((iorq->fd == fd) && (major == 0 || iorq->major == major))                  if ((iorq->fd == fd) && (major == 0 || iorq->major == major))
882                  {                  {
883                          result = 0;                          result = 0;
884                          rdpdr_send_completion(iorq->device, iorq->id, status, result, "", 1);                          rdpdr_send_completion(iorq->device, iorq->id, status, result, (uint8*)"", 1);
885                          xfree(iorq->buffer);                          xfree(iorq->buffer);
886                          iorq->fd = 0;                          iorq->fd = 0;
887                          if (prev != NULL)                          if (prev != NULL)

Legend:
Removed from v.601  
changed lines
  Added in v.602

  ViewVC Help
Powered by ViewVC 1.1.26