diff options
Diffstat (limited to 'mail/dbmail/files/patch-0019-Revert-inadvertant-event_assign-removal')
-rw-r--r-- | mail/dbmail/files/patch-0019-Revert-inadvertant-event_assign-removal | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/mail/dbmail/files/patch-0019-Revert-inadvertant-event_assign-removal b/mail/dbmail/files/patch-0019-Revert-inadvertant-event_assign-removal deleted file mode 100644 index 7bf72992c58b..000000000000 --- a/mail/dbmail/files/patch-0019-Revert-inadvertant-event_assign-removal +++ /dev/null @@ -1,30 +0,0 @@ -From 91014a1cd01e17215fdc03fb5d922b5b73ac564a Mon Sep 17 00:00:00 2001 -From: Alan Hicks <ahicks@p-o.co.uk> -Date: Fri, 14 Oct 2016 17:54:49 +0100 -Subject: [PATCH 19/33] Revert inadvertant event_assign removal - ---- - src/server.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git src/server.c src/server.c -index e013ac0..72fab52 100644 ---- src/server.c -+++ src/server.c -@@ -823,11 +823,13 @@ int server_run(ServerConfig_T *conf) - for (i = 0; i < conf->socketcount; i++) { - TRACE(TRACE_DEBUG, "Adding event for plain socket [%d] [%d/%d]", conf->listenSockets[i], i+1, total); - evsock[i] = event_new(evbase, conf->listenSockets[i], EV_READ, server_sock_cb, NULL); -+ event_assign(evsock[i], evbase, conf->listenSockets[i], EV_READ, server_sock_cb, evsock[i]); - event_add(evsock[i], NULL); - } - for (k = i, i = 0; i < conf->ssl_socketcount; i++, k++) { - TRACE(TRACE_DEBUG, "Adding event for ssl socket [%d] [%d/%d]", conf->ssl_listenSockets[i], k+1, total); - evsock[k] = event_new(evbase, conf->ssl_listenSockets[i], EV_READ, server_sock_ssl_cb, NULL); -+ event_assign(evsock[k], evbase, conf->ssl_listenSockets[i], EV_READ, server_sock_ssl_cb, evsock[k]); - event_add(evsock[k], NULL); - } - } --- -2.10.1 (Apple Git-78) - |