Browse Source

Test

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

2
iguana/exchanges/LP_nativeDEX.c

@ -147,7 +147,7 @@ char *LP_process_message(void *ctx,char *typestr,char *myipaddr,int32_t pubsock,
crc32 = calc_crc32(0,&ptr[2],recvlen-2);
if ( (crc32 & 0xff) == ptr[0] && ((crc32>>8) & 0xff) == ptr[1] )
encrypted = 1;
printf("%s recv.%u\n",typestr,crc32);
printf("%s encrypted.%d recv.%u (%s)\n",typestr,encrypted,crc32,(char *)ptr);
portable_mutex_lock(&LP_commandmutex);
i = LP_crc32find(&duplicate,-1,crc32);
if ( duplicate == 0 )

2
iguana/exchanges/LP_network.c

@ -138,7 +138,7 @@ void queue_loop(void *ignore)
}
else
{
printf("couldnt find.%u\n",ptr->crc32);
printf("couldnt find.%u (%s)\n",ptr->crc32,(char *)ptr->msg);
ptr->peerind++;
if ( (ptr->sock= LP_peerindsock(&ptr->peerind)) < 0 )
{

Loading…
Cancel
Save