1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Make --no-longpoll work again.

This commit is contained in:
Con Kolivas 2011-07-22 12:22:55 +10:00
parent ad53696f3f
commit fe8b041654

2
util.c
View File

@ -348,7 +348,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
goto err_out;
}
if (!have_longpoll) {
if (!have_longpoll && want_longpoll) {
/* If X-Long-Polling was found, activate long polling */
if (hi.lp_path) {
have_longpoll = true;