diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 037d67365..c76deddec 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -1358,9 +1358,9 @@ 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,bindpoing)) < 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",nanomsg_tcpname(myinfo,str,myinfo->ipaddr,Notaries_port)); + printf("error binding to dpowsock (%s)\n",bindpoint); nn_close(dpowsock); dpowsock = -1; }