httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/os/win32 mod_isapi.c
Date Mon, 02 Oct 2000 15:49:44 GMT
wrowe       00/10/02 08:49:43

  Modified:    src/os/win32 mod_isapi.c
  Log:
    Just Typos.
  
  Revision  Changes    Path
  1.21      +4 -4      apache-2.0/src/os/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/mod_isapi.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- mod_isapi.c	2000/10/02 15:38:55	1.20
  +++ mod_isapi.c	2000/10/02 15:49:41	1.21
  @@ -172,7 +172,7 @@
       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 @@
        *
        * 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 @@
               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 @@
       /* 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);
  
  
  

Mime
View raw message