From e7e68d0c68ac0a7e084fc601b4cfe0a70d89a696 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 20 Mar 2016 03:04:24 -0300 Subject: [PATCH] test --- iguana/iguana777.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 8a040784f..2e23b1e28 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -389,7 +389,7 @@ void iguana_helper(void *arg) { //iguana_jsonQ(); flag = 0; - if ( type == 0 && ((ptr= queue_dequeue(&emitQ,0)) != 0 || (ptr= queue_dequeue(&helperQ,0)) != 0) ) + if ( ((ptr= queue_dequeue(&emitQ,0)) != 0 || (ptr= queue_dequeue(&helperQ,0)) != 0) ) { if ( ptr->bp != 0 && (coin= ptr->coin) != 0 ) { @@ -401,7 +401,7 @@ void iguana_helper(void *arg) } myfree(ptr,ptr->allocsize); } - else if ( type == 1 && (ptr= queue_dequeue(&bundlesQ,0)) != 0 ) + else if ( (ptr= queue_dequeue(&bundlesQ,0)) != 0 ) { idle = 0; if ( ptr->bp != 0 && ptr->coin != 0 )