diff --git a/libfreerdp/core/transport.c b/libfreerdp/core/transport.c index 59ee8cf3d..59eb092cd 100755 --- a/libfreerdp/core/transport.c +++ b/libfreerdp/core/transport.c @@ -353,8 +353,8 @@ BOOL transport_connect(rdpTransport* transport, const char* hostname, BOOL status = FALSE; rdpSettings* settings = transport->settings; rdpContext* context = transport->context; - transport->async = settings->AsyncTransport; BOOL rpcFallback = !settings->GatewayHttpTransport; + transport->async = settings->AsyncTransport; if (transport->GatewayEnabled) {