summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorHardening <rdp.effort@gmail.com>2013-06-02 11:07:59 +0200
committerHardening <rdp.effort@gmail.com>2013-06-02 11:07:59 +0200
commit5ad5e5821a48f043bfb669eb535cb7ef6c08ed23 (patch)
tree2805604fd9f879c399cfc83dcf18fc2cd8c83530 /channels
parent57318db1c3825d295553d10b9a7e52c311f2236b (diff)
downloadfreerdp-5ad5e5821a48f043bfb669eb535cb7ef6c08ed23.tar.gz
freerdp-5ad5e5821a48f043bfb669eb535cb7ef6c08ed23.tar.bz2
freerdp-5ad5e5821a48f043bfb669eb535cb7ef6c08ed23.zip
Refactored printf(msg) to fprintf(stderr, msg)
Diffstat (limited to 'channels')
-rw-r--r--channels/rdpei/client/rdpei_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/rdpei/client/rdpei_main.c b/channels/rdpei/client/rdpei_main.c
index bf1198e1c..1bc711ed3 100644
--- a/channels/rdpei/client/rdpei_main.c
+++ b/channels/rdpei/client/rdpei_main.c
@@ -82,7 +82,7 @@ int rdpei_send_pdu(RDPEI_CHANNEL_CALLBACK* callback, wStream* s, UINT16 eventId,
Stream_Write_UINT32(s, pduLength); /* pduLength (4 bytes) */
Stream_SetPosition(s, Stream_Length(s));
- printf("rdpei_send_pdu: eventId: %d (%s) length: %d\n",
+ fprintf(stderr, "rdpei_send_pdu: eventId: %d (%s) length: %d\n",
eventId, RDPEI_EVENTID_STRINGS[eventId], pduLength);
status = callback->channel->Write(callback->channel,
@@ -204,7 +204,7 @@ int rdpei_recv_sc_ready_pdu(RDPEI_CHANNEL_CALLBACK* callback, wStream* s)
if (protocolVersion != RDPINPUT_PROTOCOL_V1)
{
- printf("Unknown [MS-RDPEI] protocolVersion: 0x%08X\n", protocolVersion);
+ fprintf(stderr, "Unknown [MS-RDPEI] protocolVersion: 0x%08X\n", protocolVersion);
return -1;
}
@@ -229,7 +229,7 @@ int rdpei_recv_pdu(RDPEI_CHANNEL_CALLBACK* callback, wStream* s)
Stream_Read_UINT16(s, eventId); /* eventId (2 bytes) */
Stream_Read_UINT32(s, pduLength); /* pduLength (4 bytes) */
- printf("rdpei_recv_pdu: eventId: %d (%s) length: %d\n",
+ fprintf(stderr, "rdpei_recv_pdu: eventId: %d (%s) length: %d\n",
eventId, RDPEI_EVENTID_STRINGS[eventId], pduLength);
switch (eventId)