summaryrefslogtreecommitdiffstats
path: root/xmrstak/cli
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-27 20:08:24 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-27 20:13:19 +0200
commit0117ed609e69af977fabaf9c28bbf8cf1300ee89 (patch)
treefe71edd305f523021c9038dab5595551c7e4c7e2 /xmrstak/cli
parent12802f12e30f57c2a9eefca2c1a5955275c95127 (diff)
downloadxmr-stak-0117ed609e69af977fabaf9c28bbf8cf1300ee89.zip
xmr-stak-0117ed609e69af977fabaf9c28bbf8cf1300ee89.tar.gz
fix bug inserted during `xmr/monero` renaming
- fix that currency selection is not called (in cli-miner.cpp) - fix guard to prevent wrong currency selection if compiled for monero or aeon only
Diffstat (limited to 'xmrstak/cli')
-rw-r--r--xmrstak/cli/cli-miner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp
index c15ca56..f571ad6 100644
--- a/xmrstak/cli/cli-miner.cpp
+++ b/xmrstak/cli/cli-miner.cpp
@@ -255,7 +255,7 @@ int main(int argc, char *argv[])
#elif defined(CONF_NO_MONERO)
tmp = "aeon";
#endif
- while(xmrstak::strcmp_i(tmp, "monero") && xmrstak::strcmp_i(tmp, "aeon"))
+ while(!xmrstak::strcmp_i(tmp, "monero") && !xmrstak::strcmp_i(tmp, "aeon"))
{
std::cout<<"- currency: 'monero' or 'aeon'"<<std::endl;
std::cin >> tmp;
OpenPOWER on IntegriCloud