diff options
author | fireice-uk <fireice2@o2.pl> | 2017-01-05 21:20:49 +0000 |
---|---|---|
committer | fireice-uk <fireice2@o2.pl> | 2017-01-05 21:20:49 +0000 |
commit | b9c8f59959310a1d8dadef936e47883c2afaef97 (patch) | |
tree | 0e7b36c8845a8682137bfc9f15487239d6bde8e9 /executor.cpp | |
parent | 523c63731ca1269da814659e7eeac09f404e370b (diff) | |
download | xmr-stak-b9c8f59959310a1d8dadef936e47883c2afaef97.zip xmr-stak-b9c8f59959310a1d8dadef936e47883c2afaef97.tar.gz |
Minor tweaks
Diffstat (limited to 'executor.cpp')
-rw-r--r-- | executor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/executor.cpp b/executor.cpp index b3333ae..6028ffe 100644 --- a/executor.cpp +++ b/executor.cpp @@ -479,7 +479,7 @@ void executor::hashrate_report() output.append(hps_format(fHighestHps, num, sizeof(num))); output.append(" H/s\n"); - fputs(output.c_str(), stdout); + printer::inst()->print_str(output.c_str()); } char* time_format(char* buf, size_t len, std::chrono::system_clock::time_point time) @@ -562,7 +562,7 @@ void executor::result_report() else out.append("Yay! No errors.\n"); - fputs(out.c_str(), stdout); + printer::inst()->print_str(output.c_str()); } void executor::connection_report() @@ -601,5 +601,5 @@ void executor::connection_report() else out.append("Yay! No errors.\n"); - fputs(out.c_str(), stdout); + printer::inst()->print_str(output.c_str()); } |