Browse Source

Test

etomic
jl777 8 years ago
parent
commit
d7d90599ea
  1. 2
      .gitignore
  2. 1
      basilisk/basilisk_swap.c

2
.gitignore

@ -308,3 +308,5 @@ iguana/DB/SWAPS/2180638961-896149751
iguana/DB/SWAPS/2349180798-2344225091 iguana/DB/SWAPS/2349180798-2344225091
iguana/DB/SWAPS/1395238080-4120976642 iguana/DB/SWAPS/1395238080-4120976642
iguana/DB/SWAPS/1914406677-1452353494

1
basilisk/basilisk_swap.c

@ -1345,6 +1345,7 @@ uint32_t basilisk_swapsend(struct supernet_info *myinfo,struct basilisk_swap *sw
if ( swap->subsock >= 0 ) if ( swap->subsock >= 0 )
nn_close(swap->subsock), swap->subsock = -1; nn_close(swap->subsock), swap->subsock = -1;
swap->connected = swap->I.iambob != 0 ? -1 : 0; swap->connected = swap->I.iambob != 0 ? -1 : 0;
swap->aborted = (uint32_t)time(NULL);
} }
} }
//else printf("send.[%d] %x offset.%d datalen.%d [%llx]\n",sentbytes,msgbits,offset,datalen,*(long long *)data); //else printf("send.[%d] %x offset.%d datalen.%d [%llx]\n",sentbytes,msgbits,offset,datalen,*(long long *)data);

Loading…
Cancel
Save