|
|
@ -87,7 +87,7 @@ void _LP_sendqueueadd(uint32_t crc32,int32_t sock,uint8_t *msg,int32_t msglen,in |
|
|
|
|
|
|
|
int32_t LP_crc32find(int32_t *duplicatep,int32_t ind,uint32_t crc32) |
|
|
|
{ |
|
|
|
static uint32_t crcs[64]; static unsigned long dup,total; |
|
|
|
static uint32_t crcs[1024]; static unsigned long dup,total; |
|
|
|
int32_t i; |
|
|
|
*duplicatep = 0; |
|
|
|
if ( ind < 0 ) |
|
|
@ -177,7 +177,7 @@ void queue_loop(void *ignore) |
|
|
|
printf("found.%u Q.%d err.%d match.%d\n",ptr->crc32,LP_Qenqueued,LP_Qerrors,LP_Qfound); |
|
|
|
flag = 1; |
|
|
|
} |
|
|
|
else if ( 0 ) // too much beyond duplicate filter when network is busy
|
|
|
|
else //if ( 0 ) // too much beyond duplicate filter when network is busy
|
|
|
|
{ |
|
|
|
printf("couldnt find.%u peerind.%d Q.%d err.%d match.%d\n",ptr->crc32,ptr->peerind,LP_Qenqueued,LP_Qerrors,LP_Qfound); |
|
|
|
ptr->peerind++; |
|
|
|