Browse Source

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

Con Kolivas 14 years ago
parent
commit
86e94edb89
1 changed files with 3 additions and 0 deletions
  1. 3 0
      cgminer.c

+ 3 - 0
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