From 2072408871b1b3142da4cd659fda4c462ddfdf48 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 3 Apr 2016 04:13:23 -0500 Subject: [PATCH] test --- iguana/iguana_bundles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 3518dcacc..2a7914517 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -945,7 +945,7 @@ double iguana_bundlemissings(struct iguana_info *coin,struct iguana_bundle *bp,d else max = bp->origmissings; if ( coin->current != 0 ) { - if ( (dist= bp->hdrsi - coin->current->hdrsi) < coin->MAXBUNDLES && netBLOCKS < bp->n ) + if ( (dist= bp->hdrsi - coin->current->hdrsi) < coin->MAXBUNDLES && (bp == coin->current || netBLOCKS < bp->n) ) { iguana_unstickhdr(coin,bp,60); if ( bp->numcached > bp->n - (coin->MAXBUNDLES - dist) )