mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed error check.
This commit is contained in:
@@ -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) == 0)
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user