Fixed build with APP_DEBUG.

This commit is contained in:
XMRig 2018-04-11 08:29:02 +07:00
parent 1ebaf677e0
commit a73ad9b089
6 changed files with 12 additions and 12 deletions

View file

@ -156,7 +156,7 @@ void FailoverStrategy::onResultAccepted(Client *client, const SubmitResult &resu
void FailoverStrategy::add(const Pool &pool)
{
Client *client = new Client((int) m_pools.size(), Platform::userAgent(), this);
client->setUrl(pool);
client->setPool(pool);
client->setRetryPause(m_retryPause * 1000);
client->setQuiet(m_quiet);