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

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

revision 260 by astrand, Mon Nov 18 15:31:19 2002 UTC revision 283 by jsorg71, Tue Dec 10 17:24:27 2002 UTC
# Line 79  rdp_recv(uint8 * type) Line 79  rdp_recv(uint8 * type)
79          }          }
80    
81          in_uint16_le(rdp_s, length);          in_uint16_le(rdp_s, length);
82            /* 32k packets are really 8, keepalive fix */
83            if (length == 0x8000)
84            {
85                    next_packet += 8;
86                    *type = 0;
87                    return rdp_s;
88            }
89          in_uint16_le(rdp_s, pdu_type);          in_uint16_le(rdp_s, pdu_type);
90          in_uint8s(rdp_s, 2);    /* userid */          in_uint8s(rdp_s, 2);    /* userid */
91          *type = pdu_type & 0xf;          *type = pdu_type & 0xf;
# Line 712  rdp_main_loop(void) Line 719  rdp_main_loop(void)
719                                  process_data_pdu(s);                                  process_data_pdu(s);
720                                  break;                                  break;
721    
722                            case 0:
723                                    break;
724    
725                          default:                          default:
726                                  unimpl("PDU %d\n", type);                                  unimpl("PDU %d\n", type);
727                  }                  }

Legend:
Removed from v.260  
changed lines
  Added in v.283

  ViewVC Help
Powered by ViewVC 1.1.26