Fixed error check.

This commit is contained in:
Armin Novak 2016-02-03 11:43:01 +01:00
parent 539be1f9a5
commit c2d2ead7d1
1 changed files with 1 additions and 1 deletions

View File

@ -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;