Fixed error check.

This commit is contained in:
Armin Novak 2016-02-03 11:43:01 +01:00
parent 539be1f9a5
commit c2d2ead7d1

View File

@ -33,7 +33,7 @@ BOOL sf_peer_encomsp_init(testPeerContext* context)
if (!context->encomsp) if (!context->encomsp)
return FALSE; return FALSE;
if (context->encomsp->Start(context->encomsp) < 0) if (context->encomsp->Start(context->encomsp) == 0)
return FALSE; return FALSE;
return TRUE; return TRUE;