You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2003/03/04 08:15:44 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_map.c
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