From: Jeff Trawick Date: Wed, 16 Oct 2002 18:03:44 +0000 (+0000) Subject: don't use deprecated function apr_sort_hooks() X-Git-Tag: 2.0.44~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8aab220f594c7ab776db8d755aafeb81d286bc18;p=apache don't use deprecated function apr_sort_hooks() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97242 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/main.c b/server/main.c index 50d557bda2..8f1cdd5532 100644 --- a/server/main.c +++ b/server/main.c @@ -572,7 +572,7 @@ int main(int argc, const char * const argv[]) ap_process_config_tree(server_conf, ap_conftree, process->pconf, ptemp); ap_fixup_virtual_hosts(pconf, server_conf); ap_fini_vhost_config(pconf, server_conf); - apr_sort_hooks(); + apr_hook_sort_all(); if (configtestonly) { ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, "Syntax OK"); destroy_and_exit_process(process, 0); @@ -629,7 +629,7 @@ int main(int argc, const char * const argv[]) ap_process_config_tree(server_conf, ap_conftree, process->pconf, ptemp); ap_fixup_virtual_hosts(pconf, server_conf); ap_fini_vhost_config(pconf, server_conf); - apr_sort_hooks(); + apr_hook_sort_all(); apr_pool_clear(plog); if (ap_run_open_logs(pconf, plog, ptemp, server_conf) != OK) { ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR,