tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c
Date Fri, 29 Aug 2003 14:10:31 GMT
hgomez      2003/08/29 07:10:31

  Modified:    jk/native/apache-2.0 mod_jk.c
  Log:
  Fix typo, apr_pstrdup should be used
  
  Revision  Changes    Path
  1.84      +3 -3      jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -r1.83 -r1.84
  --- mod_jk.c	28 Aug 2003 09:48:22 -0000	1.83
  +++ mod_jk.c	29 Aug 2003 14:10:31 -0000	1.84
  @@ -1720,7 +1720,7 @@
   
       if(conf && ! worker_name ) {
           /* Direct mapping ( via setHandler ). Try overrides */
  -        char *uri = apr_strdup(r->pool, r->uri);
  +        char *uri = apr_pstrdup(r->pool, r->uri);
           worker_name = map_uri_to_worker(conf->uw_map, uri, conf->log);
           if( ! worker_name ) {
               /* Since we are here, an explicit (native) mapping has been used */
  @@ -2384,7 +2384,7 @@
                          "Manually mapped, no need to call uri_to_worker\n");
                   return DECLINED;
               }
  -            uri = apr_strdup(r->pool, r->uri);
  +            uri = apr_pstrdup(r->pool, r->uri);
               worker = map_uri_to_worker(conf->uw_map, uri, conf->log);
   
               if(worker) {
  
  
  

Mime
View raw message