Browse Source

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

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

1
cgminer.c

@ -4058,6 +4058,7 @@ static void *watchpool_thread(void __maybe_unused *userdata) @@ -4058,6 +4058,7 @@ static void *watchpool_thread(void __maybe_unused *userdata)
for (i = 0; i < total_pools; i++) {
struct pool *pool = pools[i];
if (!opt_benchmark)
reap_curl(pool);
if (!pool->enabled)
continue;

Loading…
Cancel
Save