httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/support htcacheclean.c
Date Sat, 06 Nov 2004 20:48:13 GMT
nd          2004/11/06 12:48:13

  Modified:    support  htcacheclean.c
  Log:
  another warning.
  
  Revision  Changes    Path
  1.4       +5 -1      httpd-2.0/support/htcacheclean.c
  
  Index: htcacheclean.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/htcacheclean.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- htcacheclean.c	6 Nov 2004 19:41:55 -0000	1.3
  +++ htcacheclean.c	6 Nov 2004 20:48:13 -0000	1.4
  @@ -473,7 +473,11 @@
       path[baselen] = '\0';
   
       for (i = apr_hash_first(p, h); i && !interrupted; i = apr_hash_next(i)) {
  -         apr_hash_this(i, NULL, NULL, (void **)(&d));
  +        void *hvalue;
  +
  +        apr_hash_this(i, NULL, NULL, &hvalue);
  +        d = hvalue;
  +
           switch(d->type) {
           case HEADERDATA:
               nextpath = apr_pstrcat(p, path, "/", d->basename,
  
  
  

Mime
View raw message