From fe8b041654b94341b599fb0aaa7144092907fb09 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 22 Jul 2011 12:22:55 +1000 Subject: [PATCH] Make --no-longpoll work again. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 9b87e303..461c5b90 100644 --- a/util.c +++ b/util.c @@ -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;