httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server request.c
Date Wed, 06 Jun 2001 12:51:24 GMT
trawick     01/06/06 05:51:24

  Modified:    server   request.c
  Log:
  nicer to compare r->finfo.filetype with APR_NOFILE instead of 0
  
  the sub request output filter shouldn't lose the return code from
  the next filter
  
  Revision  Changes    Path
  1.4       +2 -3      httpd-2.0/server/request.c
  
  Index: request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/request.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- request.c	2001/03/25 17:38:18	1.3
  +++ request.c	2001/06/06 12:51:21	1.4
  @@ -231,7 +231,7 @@
       char bStripSlash=1;
   #endif
   
  -    if (r->finfo.filetype) {
  +    if (r->finfo.filetype != APR_NOFILE) {
   	/* assume path_info already set */
   	return OK;
       }
  @@ -810,8 +810,7 @@
       if (APR_BUCKET_IS_EOS(e)) {
           apr_bucket_delete(e);
       }
  -    ap_pass_brigade(f->next, bb);
  -    return APR_SUCCESS;
  +    return ap_pass_brigade(f->next, bb);
   }
   
    
  
  
  

Mime
View raw message