]> granicus.if.org Git - apache/commitdiff
don't use deprecated function apr_sort_hooks()
authorJeff Trawick <trawick@apache.org>
Wed, 16 Oct 2002 18:03:44 +0000 (18:03 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 16 Oct 2002 18:03:44 +0000 (18:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97242 13f79535-47bb-0310-9956-ffa450edef68

server/main.c

index 50d557bda245e374305a1fe3e39377ebecbf2059..8f1cdd5532d370a5381cb03a1406a87685a15b2f 100644 (file)
@@ -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,