Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
a4973d80e7
  1. 1
      iguana/iguana_bundles.c

1
iguana/iguana_bundles.c

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

Loading…
Cancel
Save