From ea38d1950e1c5425efa2544dbb149822e6a40335 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 3 Jul 2016 03:57:34 -0300 Subject: [PATCH] test --- basilisk/basilisk_swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 9e1a31338..ddb0ca771 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -536,7 +536,7 @@ void basilisk_swaploop(void *_swap) while ( time(NULL) < swap->expiration ) { 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); if ( basilisk_swapget(myinfo,swap,0,data,maxlen,basilisk_verify_statebits) == 0 ) {