jl777 7 years ago
parent
commit
8a6eb3753d
  1. 2
      crypto777/nanosrc/core/global.c

2
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");

Loading…
Cancel
Save