summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_tcp.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-11-26 01:38:08 +0000
committerjsorg71 <jsorg71>2005-11-26 01:38:08 +0000
commit754efcabb167f162133ac0963dd0552f09c32bf1 (patch)
tree9645d9d7d45096cd3824663633156d67a6e35fb9 /libxrdp/xrdp_tcp.c
parentc22e66e9aec8e9147d3e56d9350a58fea0a40c75 (diff)
downloadxrdp-proprietary-754efcabb167f162133ac0963dd0552f09c32bf1.tar.gz
xrdp-proprietary-754efcabb167f162133ac0963dd0552f09c32bf1.zip
<lf><cr> should be <cr><lf>
Diffstat (limited to 'libxrdp/xrdp_tcp.c')
-rw-r--r--libxrdp/xrdp_tcp.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libxrdp/xrdp_tcp.c b/libxrdp/xrdp_tcp.c
index 59d4a615..fa1225b4 100644
--- a/libxrdp/xrdp_tcp.c
+++ b/libxrdp/xrdp_tcp.c
@@ -60,10 +60,10 @@ xrdp_tcp_recv(struct xrdp_tcp* self, struct stream* s, int len)
if (self->sck_closed)
{
- DEBUG((" in xrdp_tcp_recv, sck closed\n\r"));
+ DEBUG((" in xrdp_tcp_recv, sck closed\r\n"));
return 1;
}
- DEBUG((" in xrdp_tcp_recv, gota get %d bytes\n\r", len));
+ DEBUG((" in xrdp_tcp_recv, gota get %d bytes\r\n", len));
init_stream(s, len);
while (len > 0)
{
@@ -77,14 +77,14 @@ xrdp_tcp_recv(struct xrdp_tcp* self, struct stream* s, int len)
else
{
self->sck_closed = 1;
- DEBUG((" error = -1 in xrdp_tcp_recv socket %d\n\r", self->sck));
+ DEBUG((" error = -1 in xrdp_tcp_recv socket %d\r\n", self->sck));
return 1;
}
}
else if (rcvd == 0)
{
self->sck_closed = 1;
- DEBUG((" error = 0 in xrdp_tcp_recv socket %d\n\r", self->sck));
+ DEBUG((" error = 0 in xrdp_tcp_recv socket %d\r\n", self->sck));
return 1;
}
else
@@ -93,7 +93,7 @@ xrdp_tcp_recv(struct xrdp_tcp* self, struct stream* s, int len)
len -= rcvd;
}
}
- DEBUG((" out xrdp_tcp_recv\n\r"));
+ DEBUG((" out xrdp_tcp_recv\r\n"));
return 0;
}
@@ -108,11 +108,11 @@ xrdp_tcp_send(struct xrdp_tcp* self, struct stream* s)
if (self->sck_closed)
{
- DEBUG((" in xrdp_tcp_send, sck closed\n\r"));
+ DEBUG((" in xrdp_tcp_send, sck closed\r\n"));
return 1;
}
len = s->end - s->data;
- DEBUG((" in xrdp_tcp_send, gota send %d bytes\n\r", len));
+ DEBUG((" in xrdp_tcp_send, gota send %d bytes\r\n", len));
total = 0;
while (total < len)
{
@@ -126,14 +126,14 @@ xrdp_tcp_send(struct xrdp_tcp* self, struct stream* s)
else
{
self->sck_closed = 1;
- DEBUG((" error = -1 in xrdp_tcp_send socket %d\n\r", self->sck));
+ DEBUG((" error = -1 in xrdp_tcp_send socket %d\r\n", self->sck));
return 1;
}
}
else if (sent == 0)
{
self->sck_closed = 1;
- DEBUG((" error = 0 in xrdp_tcp_send socket %d\n\r", self->sck));
+ DEBUG((" error = 0 in xrdp_tcp_send socket %d\r\n", self->sck));
return 1;
}
else
@@ -141,6 +141,6 @@ xrdp_tcp_send(struct xrdp_tcp* self, struct stream* s)
total = total + sent;
}
}
- DEBUG((" out xrdp_tcp_send, sent %d bytes ok\n\r", len));
+ DEBUG((" out xrdp_tcp_send, sent %d bytes ok\r\n", len));
return 0;
}