mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-30 21:33:34 +08:00
Fixed inverted check.
This commit is contained in:
parent
f835744a88
commit
96bf6fc89e
@ -33,7 +33,7 @@ BOOL sf_peer_encomsp_init(testPeerContext* context)
|
||||
if (!context->encomsp)
|
||||
return FALSE;
|
||||
|
||||
if (context->encomsp->Start(context->encomsp) == 0)
|
||||
if (context->encomsp->Start(context->encomsp) != CHANNEL_RC_OK)
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user