diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index b45754eac..2d8bc1500 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -823,7 +823,7 @@ void komodo_eventadd_kmdheight(struct komodo_state *sp,char *symbol,int32_t heig } } -void stats_pricefeed(struct komodo_state *sp,char *symbol,int32_t ht,uint32_t pvals,int32_t numpvals) +void stats_pricefeed(struct komodo_state *sp,char *symbol,int32_t ht,uint32_t *pvals,int32_t numpvals) { int32_t i; for (i=0; i lastpos[iter] ) { - fseek(fp,lastpos,SEEK_SET); + fseek(fp,lastpos[iter],SEEK_SET); while ( komodo_parsestatefile(logfp,sp,fp,symbol,iter) >= 0 && n < 1000 ) { if ( n == 999 )