]> granicus.if.org Git - apache/commitdiff
Follow up r1608686, pass process to alloc_systemd_listener.
authorJan Kaluža <jkaluza@apache.org>
Tue, 8 Jul 2014 09:03:02 +0000 (09:03 +0000)
committerJan Kaluža <jkaluza@apache.org>
Tue, 8 Jul 2014 09:03:02 +0000 (09:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1608694 13f79535-47bb-0310-9956-ffa450edef68

server/listen.c

index b8e8adeb0bed6088cb9c44672305b7e8aa189d5b..f4a6f1d4f689d4222ecf69a7965515822f723a5b 100644 (file)
@@ -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;
                 }