From 6e3ad7ad250b5d63be2472d9dc56325d143d7ace Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 9 Feb 2012 22:40:33 +1100 Subject: [PATCH] Logic fail on queue request. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index f3871eed..5f510967 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2913,7 +2913,7 @@ static bool queue_request(struct thr_info *thr, bool needed) gettimeofday(&now, NULL); if (rq >= mining_threads + staged_clones && - (now.tv_sec - requested_tv_sec) > opt_scantime * 2 / 3) + (now.tv_sec - requested_tv_sec) < opt_scantime * 2 / 3) return true; /* fill out work request message */