Parent Directory | Revision Log | Patch
revision 347 by forsberg, Thu Mar 27 13:11:58 2003 UTC | revision 423 by matthewc, Tue Jun 17 08:44:32 2003 UTC | |
---|---|---|
# | Line 77 iso_recv_msg(uint8 * code) | Line 77 iso_recv_msg(uint8 * code) |
77 | STREAM s; | STREAM s; |
78 | uint16 length; | uint16 length; |
79 | uint8 version; | uint8 version; |
BOOL shortform = False; // Shut the compiler up. | ||
80 | ||
81 | next_packet: | next_packet: |
82 | s = tcp_recv(4); | s = tcp_recv(NULL, 4); |
83 | if (s == NULL) | if (s == NULL) |
84 | return NULL; | return NULL; |
85 | ||
# | Line 93 iso_recv_msg(uint8 * code) | Line 92 iso_recv_msg(uint8 * code) |
92 | { | { |
93 | length &= ~0x80; | length &= ~0x80; |
94 | next_be(s, length); | next_be(s, length); |
shortform = False; | ||
} | ||
else | ||
{ | ||
shortform = True; | ||
95 | } | } |
96 | break; | break; |
97 | ||
# | Line 111 iso_recv_msg(uint8 * code) | Line 105 iso_recv_msg(uint8 * code) |
105 | return NULL; | return NULL; |
106 | } | } |
107 | ||
108 | s = tcp_recv(length - 4); | s = tcp_recv(s, length - 4); |
109 | if (s == NULL) | if (s == NULL) |
110 | return NULL; | return NULL; |
111 | ||
112 | if ((version & 3) == 0) | if ((version & 3) == 0) |
113 | { | { |
114 | rdp5_process(s, version & 0x80, shortform); | rdp5_process(s, version & 0x80); |
115 | goto next_packet; | goto next_packet; |
116 | } | } |
117 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |