Fixed command line options for single pool, free order allowed again.

This commit is contained in:
XMRig 2019-08-31 06:18:32 +07:00
parent 53a71f7226
commit 13e38df391
3 changed files with 22 additions and 5 deletions

View file

@ -200,6 +200,9 @@ bool xmrig::Pool::isEqual(const Pool &other) const
bool xmrig::Pool::parse(const char *url)
{
assert(url != nullptr);
if (url == nullptr) {
return false;
}
const char *p = strstr(url, "://");
const char *base = url;