apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/test sendfile.c
Date Mon, 22 Jan 2001 02:55:03 GMT
rbb         01/01/21 18:55:03

  Modified:    test     sendfile.c
  Log:
  Fix the stat call in sendfile.c
  
  Revision  Changes    Path
  1.6       +1 -1      apr/test/sendfile.c
  
  Index: sendfile.c
  ===================================================================
  RCS file: /home/cvs/apr/test/sendfile.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -d -b -w -u -r1.5 -r1.6
  --- sendfile.c	2001/01/15 19:43:53	1.5
  +++ sendfile.c	2001/01/22 02:55:03	1.6
  @@ -183,7 +183,7 @@
           exit(1);
       }
   
  -    rv = apr_stat(&finfo, fname, p);
  +    rv = apr_stat(&finfo, fname, APR_FINFO_NORM, p);
       if (rv) {
           fprintf(stderr, "apr_close()->%d/%s\n",
                   rv, apr_strerror(rv, buf, sizeof buf));
  
  
  

Mime
View raw message