Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
e14c4343be
  1. 2
      iguana/iguana_bundles.c

2
iguana/iguana_bundles.c

@ -482,7 +482,9 @@ void iguana_bundlepurgefiles(struct iguana_info *coin,struct iguana_bundle *bp)
{
for (j=m=0; j<bp->n; j++)
{
portable_mutex_lock(&coin->RTmutex);
iguana_RTrawdata(coin,bp->hashes[j],0,&recvlen,&numtx,0); // delete file
portable_mutex_unlock(&coin->RTmutex);
if ( iguana_peerfname(coin,&hdrsi,GLOBAL_TMPDIR,fname,ipbits,bp->hashes[j],zero,1,1) >= 0 )
{
if ( (fp= fopen(fname,"rb")) != 0 )

Loading…
Cancel
Save