From 8a6eb3753d3ffb2b92f69f5153499be8286e4d04 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Oct 2017 16:45:27 +0300 Subject: [PATCH] Test --- crypto777/nanosrc/core/global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto777/nanosrc/core/global.c b/crypto777/nanosrc/core/global.c index 9435442ba..324b266f7 100755 --- a/crypto777/nanosrc/core/global.c +++ b/crypto777/nanosrc/core/global.c @@ -1245,7 +1245,7 @@ static int nn_global_create_ep (int s, const char *addr, int bind) protosz = delim - addr; addr += protosz + 3; #ifdef NN_USE_MYMSG - if ( strncmp("inproc",proto,strlen("inproc")) != 0 && strncmp("ipc",proto,strlen("ipc")) != 0 && strncmp("tcp",proto,strlen("tcp") && strncmp("ws",proto,strlen("ws")) != 0 ) + if ( strncmp("inproc",proto,strlen("inproc")) != 0 && strncmp("ipc",proto,strlen("ipc")) != 0 && strncmp("tcp",proto,strlen("tcp")) && strncmp("ws",proto,strlen("ws")) != 0 ) { PNACL_msg("only ipc, inproc, ws and tcp transport is supported\n"); printf("only ipc, inproc, ws and tcp transport is supported\n");