Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 79050 invoked by uid 500); 21 Jan 2001 05:26:46 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 79038 invoked by uid 500); 21 Jan 2001 05:26:45 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 21 Jan 2001 05:26:45 -0000 Message-ID: <20010121052645.79034.qmail@apache.org> From: rbb@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/server main.c rbb 01/01/20 21:26:45 Modified: server main.c Log: Back out the last change (the one that went in without a commit log) I thought this change was necessary to stop reporting the SERVER_VERSION twice. In reality, the apr_hook_deregister_all() call in ap_clear_module_list solved that problem. Revision Changes Path 1.86 +4 -0 httpd-2.0/server/main.c Index: main.c =================================================================== RCS file: /home/cvs/httpd-2.0/server/main.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -b -w -u -r1.85 -r1.86 --- main.c 2001/01/21 05:23:22 1.85 +++ main.c 2001/01/21 05:26:45 1.86 @@ -403,6 +403,10 @@ for (;;) { apr_hook_deregister_all(); apr_clear_pool(pconf); + for (mod = ap_prelinked_modules; *mod != NULL; mod++) { + ap_register_hooks(*mod, pconf); + } + /* This is a hack until we finish the code so that it only reads * the config file once and just operates on the tree already in