1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-06 03:54:25 +00:00

Set have_longpoll to true when there is at least one pool with longpoll.

This commit is contained in:
Con Kolivas 2012-04-27 15:47:21 +10:00
parent 0365878ac5
commit 86e94edb89

View File

@ -3890,6 +3890,9 @@ retry_pool:
} }
} }
/* Any longpoll from any pool is enough for this to be true */
have_longpoll = true;
if (cp == pool) if (cp == pool)
applog(LOG_WARNING, "Long-polling activated for %s", pool->lp_url); applog(LOG_WARNING, "Long-polling activated for %s", pool->lp_url);
else else