From: Pierre Habouzit Date: Sun, 13 Jan 2008 16:49:52 +0000 (+0100) Subject: Evtloop fixes. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=4d71119a25f96043c5d27cf46a732b216172708f;p=apps%2Fmadmutt.git Evtloop fixes. --- diff --git a/lib-sys/evtloop.c b/lib-sys/evtloop.c index f9ae21e..1c94706 100644 --- a/lib-sys/evtloop.c +++ b/lib-sys/evtloop.c @@ -279,8 +279,8 @@ int el_job_connect2(job_t *w, const ACCOUNT *act) return -1; } mutt_message(_("Connecting to %s..."), act->host); - rc = el_job_connect(w, res->ai_addr, res->ai_addrlen, - res->ai_family, res->ai_socktype, res->ai_protocol); + rc = el_job_connect(w, res->ai_addr, res->ai_addrlen, res->ai_socktype, + res->ai_protocol, act->has_ssl); freeaddrinfo (res); if (rc) { mutt_error(_("Could not connect to %s (%m)."), act->host); diff --git a/lib-sys/evtloop.h b/lib-sys/evtloop.h index e9eff3a..48bc86a 100644 --- a/lib-sys/evtloop.h +++ b/lib-sys/evtloop.h @@ -48,10 +48,10 @@ typedef enum el_status { } el_status; typedef enum el_event { + EL_EVT_RUNNING = 0, EL_EVT_IN = EL_READING, EL_EVT_OUT = EL_WRITING, EL_EVT_INOUT = EL_RDWR, - EL_EVT_RUNNING = 4, EL_EVT_WAKEUP = 5, } el_event;