Browse Source

Test

etomic
jl777 8 years ago
parent
commit
9363d1bd22
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_network.c

2
iguana/exchanges/LP_nativeDEX.c

@ -122,7 +122,7 @@ int32_t LP_crc32find(int32_t *duplicatep,int32_t ind,uint32_t crc32)
crcs[i] = crcs[i >> 1]; crcs[i] = crcs[i >> 1];
crcs[i >> 1] = crc32; crcs[i >> 1] = crc32;
dup++; dup++;
printf("duplicate %u in slot %d -> slot %d (%lu / %lu)\n",crc32,i,i>>1,dup,total); //printf("duplicate %u in slot %d -> slot %d (%lu / %lu)\n",crc32,i,i>>1,dup,total);
} }
*duplicatep = 1; *duplicatep = 1;
break; break;

2
iguana/exchanges/LP_network.c

@ -128,7 +128,7 @@ void queue_loop(void *ignore)
else flag = 1; else flag = 1;
} }
} }
else if ( time(NULL) > ptr->starttime+LP_HTTP_TIMEOUT ) else if ( time(NULL) > ptr->starttime+2*LP_HTTP_TIMEOUT+1 )
{ {
LP_crc32find(&duplicate,-1,ptr->crc32); LP_crc32find(&duplicate,-1,ptr->crc32);
if ( duplicate > 0 ) if ( duplicate > 0 )

Loading…
Cancel
Save