tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_map.c
Date Tue, 04 Mar 2003 07:15:44 GMT
costin      2003/03/03 23:15:44

  Modified:    jk/native2/common jk_map.c
  Log:
  The refactored method takes a char * instead of a single char, so use strlen.
  
  Revision  Changes    Path
  1.26      +2 -2      jakarta-tomcat-connectors/jk/native2/common/jk_map.c
  
  Index: jk_map.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_map.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- jk_map.c	1 Mar 2003 05:49:58 -0000	1.25
  +++ jk_map.c	4 Mar 2003 07:15:44 -0000	1.26
  @@ -344,7 +344,7 @@
       for( i=0; i<sz; i++ ) {
           if( map->keys[i] != NULL ) {
               len+=strlen( map->keys[i] );
  -            len++;
  +            len+=delimLen;
           }
       }
       buf=env->tmpPool->calloc( env, env->tmpPool, len + 10 );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message