From c2d2ead7d1c3b9f32a4a4c403acf8ce486f7c426 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 3 Feb 2016 11:43:01 +0100 Subject: [PATCH] Fixed error check. --- server/Sample/sf_encomsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Sample/sf_encomsp.c b/server/Sample/sf_encomsp.c index 00a5a86..699053d 100644 --- a/server/Sample/sf_encomsp.c +++ b/server/Sample/sf_encomsp.c @@ -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; -- 2.7.4