jl777 7 years ago
parent
commit
00237955b6
  1. 2
      iguana/dpow/dpow_network.c

2
iguana/dpow/dpow_network.c

@ -1358,7 +1358,7 @@ void dpow_nanomsginit(struct supernet_info *myinfo,char *ipaddr)
if ( dpowsock < 0 && (dpowsock= nn_socket(AF_SP,NN_BUS)) >= 0 )
{
sprintf(bindpoint,"tcp://*:%u",Notaries_port);
if ( nn_bind(dpowsock,bindpoint)) < 0 ) //nanomsg_tcpname(myinfo,str,myinfo->ipaddr,Notaries_port
if ( nn_bind(dpowsock,bindpoint) < 0 ) //nanomsg_tcpname(myinfo,str,myinfo->ipaddr,Notaries_port
{
printf("error binding to dpowsock (%s)\n",bindpoint);
nn_close(dpowsock);

Loading…
Cancel
Save