From: William A. Rowe Jr Date: Mon, 2 Oct 2000 15:49:41 +0000 (+0000) Subject: Just Typos. X-Git-Tag: APACHE_2_0_ALPHA_7~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a4019faea864e8743e3febe4b7ea0686ef4b8f8;p=apache Just Typos. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86361 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/arch/win32/mod_isapi.c b/modules/arch/win32/mod_isapi.c index 8344dac2c0..baefed1c3e 100644 --- a/modules/arch/win32/mod_isapi.c +++ b/modules/arch/win32/mod_isapi.c @@ -172,7 +172,7 @@ apr_status_t isapi_handler (request_rec *r) if (r->finfo.filetype == APR_NOFILE) return HTTP_NOT_FOUND; - if (r->finfo.filetype != APR_FILE) + if (r->finfo.filetype != APR_REG) return HTTP_FORBIDDEN; /* Load the module... @@ -183,7 +183,7 @@ apr_status_t isapi_handler (request_rec *r) * * Transpose '\' for '/' in the filename. */ - p = fspec = ap_pstrdup(r->pool, r->filename); + p = fspec = apr_pstrdup(r->pool, r->filename); while (*p) { if (*p == '/') *p = '\\'; @@ -396,7 +396,7 @@ apr_status_t isapi_handler (request_rec *r) if (!isa->fakeasync) { if (LogNotSupported) { - ap_log_rerror(APLOG_MARK, APLOG_WARNING|ARP_NOERRNO, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_WARNING, 0, r, "ISAPI %s asynch I/O request refused", r->filename); cid->retval = APR_ENOTIMPL; @@ -500,7 +500,7 @@ BOOL WINAPI WriteClient (HCONN ConnID, LPVOID Buffer, LPDWORD lpwdwBytes, /* We only support synchronous writing */ if (dwReserved && dwReserved != HSE_IO_SYNC) { if (LogNotSupported) - ap_log_rerror(APLOG_MARK, APLOG_WARNING|API_NOERRNO, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_WARNING, 0, r, "ISAPI %s asynch I/O request refused", r->filename); SetLastError(ERROR_INVALID_PARAMETER); diff --git a/os/win32/mod_isapi.c b/os/win32/mod_isapi.c index 8344dac2c0..baefed1c3e 100644 --- a/os/win32/mod_isapi.c +++ b/os/win32/mod_isapi.c @@ -172,7 +172,7 @@ apr_status_t isapi_handler (request_rec *r) if (r->finfo.filetype == APR_NOFILE) return HTTP_NOT_FOUND; - if (r->finfo.filetype != APR_FILE) + if (r->finfo.filetype != APR_REG) return HTTP_FORBIDDEN; /* Load the module... @@ -183,7 +183,7 @@ apr_status_t isapi_handler (request_rec *r) * * Transpose '\' for '/' in the filename. */ - p = fspec = ap_pstrdup(r->pool, r->filename); + p = fspec = apr_pstrdup(r->pool, r->filename); while (*p) { if (*p == '/') *p = '\\'; @@ -396,7 +396,7 @@ apr_status_t isapi_handler (request_rec *r) if (!isa->fakeasync) { if (LogNotSupported) { - ap_log_rerror(APLOG_MARK, APLOG_WARNING|ARP_NOERRNO, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_WARNING, 0, r, "ISAPI %s asynch I/O request refused", r->filename); cid->retval = APR_ENOTIMPL; @@ -500,7 +500,7 @@ BOOL WINAPI WriteClient (HCONN ConnID, LPVOID Buffer, LPDWORD lpwdwBytes, /* We only support synchronous writing */ if (dwReserved && dwReserved != HSE_IO_SYNC) { if (LogNotSupported) - ap_log_rerror(APLOG_MARK, APLOG_WARNING|API_NOERRNO, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_WARNING, 0, r, "ISAPI %s asynch I/O request refused", r->filename); SetLastError(ERROR_INVALID_PARAMETER);