|
|
@ -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 ) |
|
|
|