jl777 7 years ago
parent
commit
457686593b
  1. 2
      iguana/exchanges/LP_prices.c

2
iguana/exchanges/LP_prices.c

@ -646,7 +646,7 @@ struct LP_priceinfo *LP_priceinfoadd(char *symbol)
return(0); return(0);
if ( LP_numpriceinfos >= sizeof(LP_priceinfos)/sizeof(*LP_priceinfos) ) if ( LP_numpriceinfos >= sizeof(LP_priceinfos)/sizeof(*LP_priceinfos) )
{ {
printf("cant add any more priceinfos than LP_numpriceinfos\n"); printf("cant add any more priceinfos than %d\n",LP_numpriceinfos);
return(0); return(0);
} }
pp = &LP_priceinfos[LP_numpriceinfos]; pp = &LP_priceinfos[LP_numpriceinfos];

Loading…
Cancel
Save