Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
ea38d1950e
  1. 2
      basilisk/basilisk_swap.c

2
basilisk/basilisk_swap.c

@ -536,7 +536,7 @@ void basilisk_swaploop(void *_swap)
while ( time(NULL) < swap->expiration ) while ( time(NULL) < swap->expiration )
{ {
fprintf(stderr,"swapstate.%x\n",swap->statebits); fprintf(stderr,"swapstate.%x\n",swap->statebits);
iguana_rwnum(1,data,sizeof(swap->statebits),&swap->statebits); datalen = iguana_rwnum(1,data,sizeof(swap->statebits),&swap->statebits);
basilisk_swapsend(myinfo,swap,0,data,datalen,0); basilisk_swapsend(myinfo,swap,0,data,datalen,0);
if ( basilisk_swapget(myinfo,swap,0,data,maxlen,basilisk_verify_statebits) == 0 ) if ( basilisk_swapget(myinfo,swap,0,data,maxlen,basilisk_verify_statebits) == 0 )
{ {

Loading…
Cancel
Save