From: Wilfried Goesgens Date: Sun, 11 Dec 2011 18:53:39 +0000 (+0100) Subject: this needs to be a pointer, not a constant. why doesn't GCC tell us? X-Git-Tag: v8.11~298 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=4b669bc041ab77740103550fe3812e4eea96800c this needs to be a pointer, not a constant. why doesn't GCC tell us? --- 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);