Set have_longpoll to true when there is at least one pool with longpoll.
diff --git a/cgminer.c b/cgminer.c
index 5e070fb..d5de1c9 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -3890,6 +3890,9 @@ retry_pool:
}
}
+ /* Any longpoll from any pool is enough for this to be true */
+ have_longpoll = true;
+
if (cp == pool)
applog(LOG_WARNING, "Long-polling activated for %s", pool->lp_url);
else