diff options
author | fireice-uk <fireice2@o2.pl> | 2017-01-15 23:18:31 +0000 |
---|---|---|
committer | fireice-uk <fireice2@o2.pl> | 2017-01-15 23:18:31 +0000 |
commit | 2033ed3628b617d3f369ee0bb006b2d5cdf71199 (patch) | |
tree | 7f19bde043668ee956983b63a1bbbdc138558a2f /cli-miner.cpp | |
parent | 3025fe126b26dce959ab13f8c90344900dea9a64 (diff) | |
download | xmr-stak-2033ed3628b617d3f369ee0bb006b2d5cdf71199.zip xmr-stak-2033ed3628b617d3f369ee0bb006b2d5cdf71199.tar.gz |
baish mircohttpd integration
Diffstat (limited to 'cli-miner.cpp')
-rw-r--r-- | cli-miner.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli-miner.cpp b/cli-miner.cpp index 67e1918..6014d33 100644 --- a/cli-miner.cpp +++ b/cli-miner.cpp @@ -18,6 +18,7 @@ #include "jconf.h" #include "console.h" #include "donate-level.h" +#include "httpd.h" #include <stdlib.h> #include <stdio.h> @@ -69,6 +70,12 @@ int main(int argc, char *argv[]) return 0; } + if (!httpd::inst()->start_daemon()) + { + win_exit(); + return 0; + } + printer::inst()->print_str("-------------------------------------------------------------------\n"); printer::inst()->print_str("XMR-Stak-CPU mining software, CPU Version.\n"); printer::inst()->print_str("Based on CPU mining code by wolf9466 (heavily optimized by myself).\n"); |