Browse Source

Don't try to reap curls if benchmarking is enabled.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
852f6a0eb0
  1. 3
      cgminer.c

3
cgminer.c

@ -4058,7 +4058,8 @@ static void *watchpool_thread(void __maybe_unused *userdata) @@ -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;

Loading…
Cancel
Save