mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
core: in connection.c use constant instead of raw value
This commit is contained in:
committed by
Martin Fleisz
parent
07d9baad6d
commit
bee2873b52
@@ -1109,7 +1109,7 @@ BOOL rdp_client_connect_auto_detect(rdpRdp* rdp, wStream* s)
|
||||
}
|
||||
}
|
||||
|
||||
if (rdp_recv_message_channel_pdu(rdp, s, securityFlags) == 0)
|
||||
if (rdp_recv_message_channel_pdu(rdp, s, securityFlags) == STATE_RUN_SUCCESS)
|
||||
return tpkt_ensure_stream_consumed(s, length);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user