Browse Source

Merge branch 'rpc_rm_algo' into bfgminer

Luke Dashjr 13 years ago
parent
commit
a34be9c121
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api.c

+ 1 - 0
api.c

@@ -1714,6 +1714,7 @@ static void summary(__maybe_unused SOCKETTYPE c, __maybe_unused char *param, boo
 
 	root = api_add_elapsed(root, "Elapsed", &(total_secs), false);
 #ifdef WANT_CPUMINE
+	if (opt_n_threads)
 	root = api_add_string(root, "Algorithm", algo, false);
 #endif
 	root = api_add_mhs(root, "MHS av", &(mhs), false);