diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 0d5bc1671..17356d2b1 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -377,7 +377,7 @@ void LP_dedicatedloop(void *arg) printf("sending.(%s)\n",sitem->str); if ( LP_socketsend(ep->sock,(uint8_t *)sitem->str,(int32_t)strlen(sitem->str)) <= 0 ) { - printf("%s:%u is dead\n",ipaddr,port); + printf("%s:%u is dead\n",ep->ipaddr,ep->port); closesocket(ep->sock); ep->sock = -1; break; diff --git a/iguana/exchanges/mm.c b/iguana/exchanges/mm.c index b2c02ceb9..d308c9350 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -806,9 +806,9 @@ int main(int argc, const char * argv[]) ep = LP_electrum_info("BTC","46.4.125.2",50001,IGUANA_MAXPACKETSIZE * 10); //88.198.241.196" if ( ep != 0 && OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)LP_dedicatedloop,(void *)ep) != 0 ) { - printf("error launching LP_main (%s)\n",jprint(retjson,0)); + printf("error launching LP_dedicatedloop (%s:%u)\n",ep->ipaddr,ep->port); exit(-1); - } else printf("(%s) launched.(%s)\n",argv[1],passphrase); + } else printf("launched.(%s:%u)\n",ep->ipaddr,ep->port); printf("call test\n"); if ( (1) ) {