Fixed inverted check.

This commit is contained in:
Armin Novak 2016-02-03 12:46:02 +01:00
parent f835744a88
commit 96bf6fc89e

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) != CHANNEL_RC_OK)
return FALSE;
return TRUE;