From 852f6a0eb02f1c5a715a62e6b1142ca684aa4611 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 3 May 2012 22:39:12 +1000 Subject: [PATCH] Don't try to reap curls if benchmarking is enabled. --- cgminer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 26259c6e..58731a9c 100644 --- a/cgminer.c +++ b/cgminer.c @@ -4058,7 +4058,8 @@ static void *watchpool_thread(void __maybe_unused *userdata) for (i = 0; i < total_pools; i++) { struct pool *pool = pools[i]; - reap_curl(pool); + if (!opt_benchmark) + reap_curl(pool); if (!pool->enabled) continue;