diff options
author | Unknown <fireice2@o2.pl> | 2017-11-16 13:42:27 +0000 |
---|---|---|
committer | Unknown <fireice2@o2.pl> | 2017-11-16 13:42:27 +0000 |
commit | cabd46f39fdadad7345f9603ccdcf1daf49e1a9c (patch) | |
tree | 2b5dc47b60d3b1d001a0bf4830b7bf47d253190c /xmrstak/misc/executor.cpp | |
parent | 157dd16574c04cb78b704bd809c8919527bd7b61 (diff) | |
download | xmr-stak-cabd46f39fdadad7345f9603ccdcf1daf49e1a9c.zip xmr-stak-cabd46f39fdadad7345f9603ccdcf1daf49e1a9c.tar.gz |
Remove whitespace lines
Diffstat (limited to 'xmrstak/misc/executor.cpp')
-rw-r--r-- | xmrstak/misc/executor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xmrstak/misc/executor.cpp b/xmrstak/misc/executor.cpp index 43e3d6b..dea1dab 100644 --- a/xmrstak/misc/executor.cpp +++ b/xmrstak/misc/executor.cpp @@ -267,7 +267,7 @@ void executor::log_socket_error(jpsock* pool, std::string&& sError) pool_name.reserve(128); pool_name.append("[").append(pool->get_pool_addr()).append("] "); sError.insert(0, pool_name); - + vSocketLog.emplace_back(std::move(sError)); printer::inst()->print_msg(L1, "SOCKET ERROR - %s", vSocketLog.back().msg.c_str()); @@ -321,7 +321,7 @@ jpsock* executor::pick_pool_by_id(size_t pool_id) void executor::on_sock_ready(size_t pool_id) { jpsock* pool = pick_pool_by_id(pool_id); - + if(pool->is_dev_pool()) printer::inst()->print_msg(L1, "Dev pool connected. Logging in..."); else @@ -342,7 +342,7 @@ void executor::on_sock_error(size_t pool_id, std::string&& sError, bool silent) jpsock* pool = pick_pool_by_id(pool_id); pool->disconnect(); - + if(pool_id == current_pool_id) current_pool_id = invalid_pool_id; @@ -505,7 +505,7 @@ void executor::ex_main() if(!cfg.tls) tls = false; pools.emplace_back(i+1, cfg.sPoolAddr, cfg.sWalletAddr, cfg.sPasswd, cfg.weight, false, cfg.tls, cfg.tls_fingerprint, cfg.nicehash); } - + if(jconf::inst()->IsCurrencyMonero()) { if(tls) @@ -753,7 +753,7 @@ void executor::hashrate_report(std::string& out) if((i & 0x1) == 1) //We had odd number of threads out.append("|\n"); - + if(nthd != 1) out.append("-----------------------------------------------------\n"); else |