Browse Source

Merge branch 'bugfix_tqleak' into bfgminer

Luke Dashjr 13 years ago
parent
commit
7a9d0441ff
1 changed files with 2 additions and 2 deletions
  1. 2 2
      miner.c

+ 2 - 2
miner.c

@@ -3094,8 +3094,8 @@ static void *get_work_thread(void *userdata)
 	pool = wc->pool;
 
 	if (clone_available()) {
-		applog(LOG_DEBUG, "dec_queued from get_work_thread due to clone available\n");
 		dec_queued(pool);
+		applog(LOG_DEBUG, "dec_queued from get_work_thread due to clone available");
 		goto out;
 	}
 
@@ -3808,8 +3808,8 @@ static bool hash_push(struct work *work)
 
 	if (work->queued) {
 		work->queued = false;
-		applog(LOG_DEBUG, "dec_queued in hash_push\n");
 		dec_queued(work->pool);
+		applog(LOG_DEBUG, "dec_queued from hash_push");
 	}
 
 	return rc;