Browse Source

Define externs for private bet

pass-iguana-arg
jl777 7 years ago
parent
commit
1083133dd2
  1. 1
      iguana/exchanges/LP_network.c
  2. 2
      iguana/exchanges/stats.c

1
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

2
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);

Loading…
Cancel
Save