From 4f8f778113fb264f5f6cb17d157835ecb668e02d Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 12 Jun 2000 17:40:00 +0000 Subject: [PATCH] Fix typos. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85542 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/mpmt_pthread/mpmt_pthread.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/mpm/mpmt_pthread/mpmt_pthread.c b/server/mpm/mpmt_pthread/mpmt_pthread.c index bc104818fe..d4b0a64d28 100644 --- a/server/mpm/mpmt_pthread/mpmt_pthread.c +++ b/server/mpm/mpmt_pthread/mpmt_pthread.c @@ -60,6 +60,7 @@ #include "apr_portable.h" #include "apr_thread_proc.h" +#include "apr_file_io.h" #include "ap_config.h" #include "httpd.h" #include "http_main.h" @@ -1431,7 +1432,7 @@ static const char *set_max_requests(cmd_parms *cmd, void *dummy, char *arg) static const char *set_coredumpdir (cmd_parms *cmd, void *dummy, char *arg) { - struct stat finfo; + struct ap_finfo_t finfo; const char *fname; const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); if (err != NULL) { @@ -1439,7 +1440,7 @@ static const char *set_coredumpdir (cmd_parms *cmd, void *dummy, char *arg) } fname = ap_server_root_relative(cmd->pool, arg); - if ((ap_stat(&finfofname, cmd->pool) != APR_SUCCESS) || + if ((ap_stat(&finfo, fname, cmd->pool) != APR_SUCCESS) || (finfo.filetype != APR_DIR)) { return ap_pstrcat(cmd->pool, "CoreDumpDirectory ", fname, " does not exist or is not a directory", NULL); -- 2.50.1