mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-22 06:28:36 +02:00
Bugfix #1 - you don't want to do THAT in a single expression.
This commit is contained in:
+7
-4
@@ -471,10 +471,13 @@ void executor::hashrate_report()
|
||||
else
|
||||
output.append("---------------------------\n");
|
||||
|
||||
output.append("Totals: ").append(hps_format(fTotal[0], num, sizeof(num))).
|
||||
append(hps_format(fTotal[1], num, sizeof(num))).
|
||||
append(hps_format(fTotal[2], num, sizeof(num))).append(" H/s\nHighest: ").
|
||||
append(hps_format(fHighestHps, num, sizeof(num))).append(" H/s\n");
|
||||
output.append("Totals: ");
|
||||
output.append(hps_format(fTotal[0], num, sizeof(num)));
|
||||
output.append(hps_format(fTotal[1], num, sizeof(num)));
|
||||
output.append(hps_format(fTotal[2], num, sizeof(num)));
|
||||
output.append(" H/s\nHighest: ");
|
||||
output.append(hps_format(fHighestHps, num, sizeof(num)));
|
||||
output.append(" H/s\n");
|
||||
|
||||
fputs(output.c_str(), stdout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user