BOOL
iso_recv_connect(int server_sock)
{
- STREAM s;
+ STREAM s, t;
uint8 code;
tcp_recv_connect(server_sock);
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(t, 3); /* version */
+ out_uint8(t, 0); /* reserved */
+ out_uint16_be(t, 0);
- out_uint8(s, 2); /* hdrlen */
- out_uint8(s, ISO_PDU_CC); /* code */
- out_uint8(s, 0x80); /* eot */
+ out_uint8(t, 2); /* hdrlen */
+ out_uint8(t, ISO_PDU_CC); /* code */
+ out_uint8(t, 0x80); /* eot */
- tcp_send(s);
+ tcp_send(t);
return 1;
}