From 0871a72f1100d01b638c81c821d20029984e00ca Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Sun, 21 Jan 2001 05:26:45 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87776 13f79535-47bb-0310-9956-ffa450edef68 --- server/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/main.c b/server/main.c index 260e32a6c3..cd3d854e96 100644 --- a/server/main.c +++ b/server/main.c @@ -403,6 +403,10 @@ int main(int argc, const char * const argv[]) 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 -- 2.40.0