X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=iso.c;h=746a9457c84abb54c383a9954663bb31dde3a950;hb=98742a5ac6a2170d0d5b219a69a9cc6d57915547;hp=905e54a2fbf8b28cfe8953f38ae70cc5c848b11d;hpb=3c6b8a5bfb9ee7115afbe58c12d67abfb42096f1;p=rdpsrv diff --git a/iso.c b/iso.c index 905e54a..746a945 100644 --- a/iso.c +++ b/iso.c @@ -185,7 +185,7 @@ iso_recv(void) BOOL iso_recv_connect(int server_sock) { - STREAM s; + STREAM s, t; uint8 code; tcp_recv_connect(server_sock); @@ -202,19 +202,7 @@ iso_recv_connect(int server_sock) DEBUG(("Got ISO connection request\n")); - iso_init(0); - - /* send an CC PDU back */ - out_uint8(s, 3); /* version */ - out_uint8(s, 0); /* reserved */ - out_uint16_be(s, 0); - - out_uint8(s, 2); /* hdrlen */ - out_uint8(s, ISO_PDU_CC); /* code */ - out_uint8(s, 0x80); /* eot */ - - tcp_send(s); - + iso_send_msg(ISO_PDU_CC); return 1; }