From 5c9a6408cfadaf89e5661239fef006691b5e9cdd Mon Sep 17 00:00:00 2001 From: Hardening Date: Wed, 21 May 2014 19:13:40 +0200 Subject: [PATCH] Fixed invalid declaration and missing argument --- libfreerdp/core/transport.c | 2 +- libfreerdp/core/transport.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libfreerdp/core/transport.c b/libfreerdp/core/transport.c index f79d51aa5..bb455a927 100644 --- a/libfreerdp/core/transport.c +++ b/libfreerdp/core/transport.c @@ -290,7 +290,7 @@ BOOL transport_connect_tls(rdpTransport* transport) transport->frontBio = targetTls->bio; if (!transport->frontBio) { - fprintf(stderr, "%s: unable to prepend a filtering TLS bio"); + fprintf(stderr, "%s: unable to prepend a filtering TLS bio", __FUNCTION__); return FALSE; } diff --git a/libfreerdp/core/transport.h b/libfreerdp/core/transport.h index 829807405..4e9f7e5a4 100644 --- a/libfreerdp/core/transport.h +++ b/libfreerdp/core/transport.h @@ -105,7 +105,7 @@ void transport_set_gateway_enabled(rdpTransport* transport, BOOL GatewayEnabled) void transport_set_nla_mode(rdpTransport* transport, BOOL NlaMode); void transport_get_read_handles(rdpTransport* transport, HANDLE* events, DWORD* count); BOOL tranport_is_write_blocked(rdpTransport* transport); -BOOL tranport_drain_output_buffer(rdpTransport* transport); +int tranport_drain_output_buffer(rdpTransport* transport); wStream* transport_receive_pool_take(rdpTransport* transport); int transport_receive_pool_return(rdpTransport* transport, wStream* pdu);