From: Jan Kaluža Date: Tue, 8 Jul 2014 09:03:02 +0000 (+0000) Subject: Follow up r1608686, pass process to alloc_systemd_listener. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a1fb3c7ad8fd2b0793f23dd0383056b57a225d2;p=thirdparty%2Fapache%2Fhttpd.git Follow up r1608686, pass process to alloc_systemd_listener. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1608694 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/listen.c b/server/listen.c index b8e8adeb0be..f4a6f1d4f68 100644 --- a/server/listen.c +++ b/server/listen.c @@ -776,7 +776,7 @@ AP_DECLARE(apr_status_t) ap_duplicate_listeners(server_rec *s, apr_pool_t *p, if (use_systemd) { int thesock; apr_os_sock_get(&thesock, lr->sd); - if ((stat = alloc_systemd_listener(p, thesock, &duplr)) + if ((stat = alloc_systemd_listener(s->process, thesock, &duplr)) != APR_SUCCESS) { return stat; }