Browse Source

Test

etomic
jl777 8 years ago
parent
commit
ed89cf5ada
  1. 4
      basilisk/basilisk_swap.c
  2. 2
      iguana/unparsed.txt

4
basilisk/basilisk_swap.c

@ -887,7 +887,7 @@ void basilisk_swapgotdata(struct supernet_info *myinfo,struct basilisk_swap *swa
return;
if ( datalen < 8 )
for (i=0; i<datalen; i++)
printf("%02x",data[datalen]);
printf("%02x",data[i]);
printf(" new message.[%d] datalen.%d Q.%x msg.%x\n",swap->nummessages,datalen,quoteid,msgbits);
swap->messages = realloc(swap->messages,sizeof(*swap->messages) * (swap->nummessages + 1));
mp = &swap->messages[swap->nummessages++];
@ -956,7 +956,7 @@ int32_t basilisk_swapget(struct supernet_info *myinfo,struct basilisk_swap *swap
{
for (i=0; i<size; i++)
printf("%02x ",ptr[i]);
printf(" size.%d\n",size);
printf(" size.%d offset.%d\n",size,offset);
}
if ( size > offset )
basilisk_swapgotdata(myinfo,swap,crc32,srchash,desthash,quoteid,_msgbits,&ptr[offset],size-offset);

2
iguana/unparsed.txt

@ -1 +1 @@
63041a7dbc58b175210205a68a29ddd5ac3bc216274770787fe667c6687c7880c09d6e6d4177c6a261bbac67a914c176c745680464cea293d4f0ff70165fc00e84fc8821039a493992a86ce8bb4f7f66e74ac3929bfb37fa9f0efb3175b2c8d8e25b051daaac68
6304457fbc58b1752102a8840cca0df07b83f53909a449e33ad300f8f72f72fcff2402113056ec281a6dac67a914dd008e8066dfa7f5e138b88892d3b751c39609a5882103d23f308d9f85ec5633122dd6c59e7004ab5915cc073104873a06adeef24eb6dbac68

Loading…
Cancel
Save