]> granicus.if.org Git - apache/commitdiff
Just Typos.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 2 Oct 2000 15:49:41 +0000 (15:49 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 2 Oct 2000 15:49:41 +0000 (15:49 +0000)
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

modules/arch/win32/mod_isapi.c
os/win32/mod_isapi.c

index 8344dac2c0f5ff111fae3acf9065dc4f3c810a04..baefed1c3e6d1b0b3d753c8031a07cdeea0fe710 100644 (file)
@@ -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);
index 8344dac2c0f5ff111fae3acf9065dc4f3c810a04..baefed1c3e6d1b0b3d753c8031a07cdeea0fe710 100644 (file)
@@ -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);