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/modules/mappers mod_rewrite.c
Date Mon, 06 May 2002 14:02:50 GMT
trawick     02/05/06 07:02:50

  Modified:    modules/mappers mod_rewrite.c
  Log:
  fix the type of the pointer returned by the hash lookup
  
  Revision  Changes    Path
  1.109     +2 -1      httpd-2.0/modules/mappers/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_rewrite.c,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- mod_rewrite.c	6 May 2002 03:10:24 -0000	1.108
  +++ mod_rewrite.c	6 May 2002 14:02:50 -0000	1.109
  @@ -462,7 +462,8 @@
           newmap->type      = MAPTYPE_INT;
           newmap->datafile  = NULL;
           newmap->checkfile = NULL;
  -        newmap->func      = apr_hash_get(mapfunc_hash, a2+4, strlen(a2+4));
  +        newmap->func      = (char *(*)(request_rec *,char *))
  +                            apr_hash_get(mapfunc_hash, a2+4, strlen(a2+4));
           if ((sconf->state == ENGINE_ENABLED) && (newmap->func == NULL)) {
               return apr_pstrcat(cmd->pool, "RewriteMap: internal map not found:",
                                 a2+4, NULL);
  
  
  

Mime
View raw message