diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 636afeb11..0678fc459 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -295,7 +295,7 @@ forwardhex(pubkey,hex)\n\ { if ( strcmp(method,"register") == 0 ) { - printf("nonLP got (%s)\n",jprint(argjson,0)); + //printf("nonLP got (%s)\n",jprint(argjson,0)); retstr = clonestr("{\"result\":\"success\",\"register\":\"received\"}"); } } diff --git a/iguana/exchanges/LP_forwarding.c b/iguana/exchanges/LP_forwarding.c index 532067c1c..9a6659dc2 100644 --- a/iguana/exchanges/LP_forwarding.c +++ b/iguana/exchanges/LP_forwarding.c @@ -176,8 +176,10 @@ int32_t LP_forwarding_register(bits256 pubkey,char *publicaddr,uint16_t publicpo if ( peer->pushsock >= 0 ) { if ( LP_send(peer->pushsock,argstr,arglen,0) != arglen ) - printf("you can ignore error sending command to %s:%u\n",peer->ipaddr,peer->port); - //else printf("sent register to %s:%u\n",peer->ipaddr,peer->port); + { + if ( strncmp(peer->ipaddr,"5.9.253",strlen("5.9.253")) == 0 ) + printf("error registering with %s:%u\n",peer->ipaddr,peer->port); + } n++; } //printf("register.(%s) %s %u with (%s)\n",publicaddr,ipaddr,publicport,peer->ipaddr); diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index a97f4b413..0950cbf0d 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -63,7 +63,7 @@ int32_t LP_send(int32_t sock,void *msg,int32_t sendlen,int32_t freeflag) //portable_mutex_unlock(&LP_networkmutex); usleep(1000); } - printf("you can ignore: error LP_send sock.%d, i.%d timeout.(%s) %s\n",sock,i,(char *)msg,nn_strerror(nn_errno())); + //printf("you can ignore: error LP_send sock.%d, i.%d timeout.(%s) %s\n",sock,i,(char *)msg,nn_strerror(nn_errno())); if ( freeflag != 0 ) free(msg); return(-1);