mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-16 15:57:39 +00:00
Merge branch 'master' into merge-mining
This commit is contained in:
commit
2660d9dd0f
1 changed files with 7 additions and 0 deletions
|
@ -64,6 +64,13 @@ p2pool::p2pool(int argc, char* argv[])
|
||||||
LOGINFO(1, log::LightCyan() << VERSION);
|
LOGINFO(1, log::LightCyan() << VERSION);
|
||||||
|
|
||||||
Params* p = new Params(argc, argv);
|
Params* p = new Params(argc, argv);
|
||||||
|
|
||||||
|
if (!p->valid()) {
|
||||||
|
LOGERR(1, "Invalid or missing command line. Try \"p2pool --help\".");
|
||||||
|
delete p;
|
||||||
|
throw std::exception();
|
||||||
|
}
|
||||||
|
|
||||||
m_params = p;
|
m_params = p;
|
||||||
|
|
||||||
#ifdef WITH_UPNP
|
#ifdef WITH_UPNP
|
||||||
|
|
Loading…
Reference in a new issue