libfreerdp-core: fix non-C89 declaration

This commit is contained in:
Marc-André Moreau 2014-04-01 20:56:34 -04:00
parent 8083350aaa
commit 56d75ac892

View File

@ -376,6 +376,7 @@ BOOL transport_connect_nla(rdpTransport* transport)
BOOL transport_tsg_connect(rdpTransport* transport, const char* hostname, UINT16 port)
{
rdpTsg* tsg;
int tls_status;
freerdp* instance;
rdpContext* context;
@ -383,7 +384,7 @@ BOOL transport_tsg_connect(rdpTransport* transport, const char* hostname, UINT16
instance = (freerdp*) transport->settings->instance;
context = instance->context;
rdpTsg* tsg = tsg_new(transport);
tsg = tsg_new(transport);
tsg->transport = transport;
transport->tsg = tsg;