httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_userdir.c
Date Tue, 03 Feb 1998 08:52:53 GMT
dgaudet     98/02/03 00:52:53

  Modified:    src/modules/standard mod_userdir.c
  Log:
  fix bug where it copies bogus statbuf to r->finfo.
  
  Revision  Changes    Path
  1.27      +2 -1      apache-1.3/src/modules/standard/mod_userdir.c
  
  Index: mod_userdir.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_userdir.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- mod_userdir.c	1998/01/26 19:50:25	1.26
  +++ mod_userdir.c	1998/02/03 08:52:52	1.27
  @@ -317,7 +317,8 @@
            */
           if (filename && (!*userdirs || stat(filename, &statbuf) != -1)) {
               r->filename = pstrcat(r->pool, filename, dname, NULL);
  -            r->finfo = statbuf;
  +	    if (*userdirs)
  +		r->finfo = statbuf;
               return OK;
           }
       }
  
  
  

Mime
View raw message