Fixed inverted check.
authorArmin Novak <armin.novak@thincast.com>
Wed, 3 Feb 2016 11:46:02 +0000 (12:46 +0100)
committerArmin Novak <armin.novak@thincast.com>
Wed, 3 Feb 2016 11:46:02 +0000 (12:46 +0100)
server/Sample/sf_encomsp.c

index 699053d..6fdad03 100644 (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;