Browse Source

test

etomic
jl777 7 years ago
parent
commit
f6766870cb
  1. 2
      iguana/exchanges/LP_stats.c

2
iguana/exchanges/LP_stats.c

@ -235,6 +235,7 @@ int32_t LP_statslog_parsequote(char *method,cJSON *lineobj)
sp->methodind = methodind; sp->methodind = methodind;
if ( LP_swapstats_update(sp,&Q,lineobj) == 0 ) if ( LP_swapstats_update(sp,&Q,lineobj) == 0 )
flag = 1; flag = 1;
else printf("LP_swapstats_update error\n");
} }
if ( flag == 0 ) if ( flag == 0 )
{ {
@ -301,6 +302,7 @@ int32_t LP_statslog_parsequote(char *method,cJSON *lineobj)
} }
else else
{ {
printf("create aliceid.%llu\n",(long long)aliceid);
if ( (sp= LP_swapstats_add(aliceid,RTflag)) != 0 ) if ( (sp= LP_swapstats_add(aliceid,RTflag)) != 0 )
{ {
sp->Q = Q; sp->Q = Q;

Loading…
Cancel
Save