From 4b669bc041ab77740103550fe3812e4eea96800c Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 11 Dec 2011 19:53:39 +0100 Subject: [PATCH] this needs to be a pointer, not a constant. why doesn't GCC tell us? --- citadel/modules/eventclient/serv_eventclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/citadel/modules/eventclient/serv_eventclient.c b/citadel/modules/eventclient/serv_eventclient.c index 1bd4c7181..d930a228a 100644 --- a/citadel/modules/eventclient/serv_eventclient.c +++ b/citadel/modules/eventclient/serv_eventclient.c @@ -216,7 +216,7 @@ gotwatchtime(CURLM *multi, long tblock_ms, void *cglobal) { tblock_ms = 14000; ev_timer_set(&global->timeev, 0.5e-3 + 1.0e-3 * tblock_ms, 14.0); ev_timer_start(EV_DEFAULT_UC, &global->timeev); - curl_multi_perform(global, CURL_POLL_NONE); + curl_multi_perform(global, &global->nrun); return 0; } @@ -355,8 +355,8 @@ int evcurl_init(AsyncIO *IO, OPT(VERBOSE, (long)1); /* unset in production */ - OPT(NOPROGRESS, (long)1); - OPT(NOSIGNAL, (long)1); + OPT(NOPROGRESS, 1L); + OPT(NOSIGNAL, 1L); OPT(FAILONERROR, (long)1); OPT(ENCODING, ""); OPT(FOLLOWLOCATION, (long)1); -- 2.30.2