summaryrefslogtreecommitdiffstats
path: root/rdp/rdp_iso.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-04-29 01:47:06 +0000
committerjsorg71 <jsorg71>2006-04-29 01:47:06 +0000
commit770a27bfb39a64cb742f73156cfb1071fe8fd603 (patch)
treee65373df2434b8c6718f82bc9a8f7430bb863111 /rdp/rdp_iso.c
parentb1b3ff9e7d31da5fbfeedd3df8e40be240112f9c (diff)
downloadxrdp-proprietary-770a27bfb39a64cb742f73156cfb1071fe8fd603.tar.gz
xrdp-proprietary-770a27bfb39a64cb742f73156cfb1071fe8fd603.zip
printf -> writeln
Diffstat (limited to 'rdp/rdp_iso.c')
-rw-r--r--rdp/rdp_iso.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/rdp/rdp_iso.c b/rdp/rdp_iso.c
index 6c46ee06..0f68f2a8 100644
--- a/rdp/rdp_iso.c
+++ b/rdp/rdp_iso.c
@@ -57,20 +57,20 @@ rdp_iso_recv_msg(struct rdp_iso* self, struct stream* s, int* code)
*code = 0;
if (rdp_tcp_recv(self->tcp_layer, s, 4) != 0)
{
- DEBUG((" out rdp_iso_recv_msg error rdp_tcp_recv 1 failed\r\n"));
+ DEBUG((" out rdp_iso_recv_msg error rdp_tcp_recv 1 failed"));
return 1;
}
in_uint8(s, ver);
if (ver != 3)
{
- DEBUG((" out rdp_iso_recv_msg error ver != 3\r\n"));
+ DEBUG((" out rdp_iso_recv_msg error ver != 3"));
return 1;
}
in_uint8s(s, 1);
in_uint16_be(s, len);
if (rdp_tcp_recv(self->tcp_layer, s, len - 4) != 0)
{
- DEBUG((" out rdp_iso_recv_msg error rdp_tcp_recv 2 failed\r\n"));
+ DEBUG((" out rdp_iso_recv_msg error rdp_tcp_recv 2 failed"));
return 1;
}
in_uint8s(s, 1);
@@ -168,20 +168,20 @@ rdp_iso_connect(struct rdp_iso* self, char* ip, char* port)
int code;
struct stream* s;
- DEBUG((" in rdp_iso_connect\r\n"));
+ DEBUG((" in rdp_iso_connect"));
make_stream(s);
init_stream(s, 8192);
if (rdp_tcp_connect(self->tcp_layer, ip, port) != 0)
{
free_stream(s);
- DEBUG((" out rdp_iso_connect error rdp_tcp_connect failed\r\n"));
+ DEBUG((" out rdp_iso_connect error rdp_tcp_connect failed"));
return 1;
}
if (rdp_iso_send_msg(self, s, ISO_PDU_CR) != 0)
{
free_stream(s);
rdp_tcp_disconnect(self->tcp_layer);
- DEBUG((" out rdp_iso_connect error rdp_iso_send_msg failed\r\n"));
+ DEBUG((" out rdp_iso_connect error rdp_iso_send_msg failed"));
return 1;
}
init_stream(s, 8192);
@@ -189,18 +189,18 @@ rdp_iso_connect(struct rdp_iso* self, char* ip, char* port)
{
free_stream(s);
rdp_tcp_disconnect(self->tcp_layer);
- DEBUG((" out rdp_iso_connect error rdp_iso_recv_msg failed\r\n"));
+ DEBUG((" out rdp_iso_connect error rdp_iso_recv_msg failed"));
return 1;
}
if (code != ISO_PDU_CC)
{
free_stream(s);
rdp_tcp_disconnect(self->tcp_layer);
- DEBUG((" out rdp_iso_connect error code != ISO_PDU_CC\r\n"));
+ DEBUG((" out rdp_iso_connect error code != ISO_PDU_CC"));
return 1;
}
free_stream(s);
- DEBUG((" out rdp_iso_connect\r\n"));
+ DEBUG((" out rdp_iso_connect"));
return 0;
}