Fixed error check.
This commit is contained in:
parent
539be1f9a5
commit
c2d2ead7d1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user