Fixed invalid declaration and missing argument
authorHardening <rdp.effort@gmail.com>
Wed, 21 May 2014 17:13:40 +0000 (19:13 +0200)
committerHardening <rdp.effort@gmail.com>
Wed, 21 May 2014 17:13:40 +0000 (19:13 +0200)
libfreerdp/core/transport.c
libfreerdp/core/transport.h

index f79d51a..bb455a9 100644 (file)
@@ -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;
        }
 
index 8298074..4e9f7e5 100644 (file)
@@ -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);