X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Feventclient%2Fserv_eventclient.c;h=d930a228a6e8c4a360b833eb3812180ef2ede945;hp=1bd4c7181642380ddc3db5b4a06245b0efba29bb;hb=4b669bc041ab77740103550fe3812e4eea96800c;hpb=757efd1e6a7b79474e97c475a386bc843431be9c 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);