From 1083133dd2d1d2ab950213fc0b8a838e6c7e1895 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 29 May 2018 23:33:15 -1100 Subject: [PATCH] Define externs for private bet --- iguana/exchanges/LP_network.c | 1 - iguana/exchanges/stats.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index f138b4962..ef2c31183 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -28,7 +28,6 @@ struct psock uint16_t Numpsocks,Psockport = MIN_PSOCK_PORT,Pcmdport = MAX_PSOCK_PORT; extern portable_mutex_t LP_commandQmutex; -extern char *myipaddr; #ifdef FROM_JS diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index c49729b3e..a2b5d4427 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -549,7 +549,7 @@ char *stats_rpcparse(char *retbuf,int32_t bufsize,int32_t *jsonflagp,int32_t *po //free(buf); //while ( retstr == 0 ) // usleep(10000); - if ( (retstr= stats_JSON(ctx,0,myipaddr,-1,argjson,remoteaddr,port)) != 0 ) + if ( (retstr= stats_JSON(ctx,0,LP_myipaddr,-1,argjson,remoteaddr,port)) != 0 ) { if ( (retitem= cJSON_Parse(retstr)) != 0 ) jaddi(retarray,retitem);