/[rdesktop]/sourceforge.net/trunk/rdesktop/iso.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/iso.c

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

revision 4 by matty, Wed May 10 07:36:34 2000 UTC revision 9 by matty, Tue Jul 25 12:34:29 2000 UTC
# Line 33  HCONN iso_connect(char *server) Line 33  HCONN iso_connect(char *server)
33    
34          if (!iso_recv_msg(conn, &code) || (code != ISO_PDU_CC))          if (!iso_recv_msg(conn, &code) || (code != ISO_PDU_CC))
35          {          {
36                  fprintf(stderr, "ISO error, expected CC\n");                  ERROR("ISO error, expected CC\n");
37                  tcp_disconnect(conn);                  tcp_disconnect(conn);
38                  return NULL;                  return NULL;
39          }          }
# Line 91  BOOL iso_recv(HCONN conn) Line 91  BOOL iso_recv(HCONN conn)
91    
92          if (!iso_recv_msg(conn, &code) || (code != ISO_PDU_DT))          if (!iso_recv_msg(conn, &code) || (code != ISO_PDU_DT))
93          {          {
94                  fprintf(stderr, "ISO error, expected DT\n");                  ERROR("ISO error, expected DT\n");
95                  return False;                  return False;
96          }          }
97    
# Line 128  BOOL iso_io_tpkt(STREAM s, TPKT *tpkt) Line 128  BOOL iso_io_tpkt(STREAM s, TPKT *tpkt)
128    
129          if (tpkt->version != 3)          if (tpkt->version != 3)
130          {          {
131                  fprintf(stderr, "Wrong TPKT version %d\n", tpkt->version);                  ERROR("Wrong TPKT version %d\n", tpkt->version);
132                  return False;                  return False;
133          }          }
134    

Legend:
Removed from v.4  
changed lines
  Added in v.9

  ViewVC Help
Powered by ViewVC 1.1.26