You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2003/05/12 12:55:51 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_pool.c
mturk 2003/05/12 03:55:50
Modified: jk/native2/common jk_pool.c
Log:
use the size_t insted of apr_size_t.
Revision Changes Path
1.16 +4 -4 jakarta-tomcat-connectors/jk/native2/common/jk_pool.c
Index: jk_pool.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_pool.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- jk_pool.c 15 Apr 2003 17:10:18 -0000 1.15
+++ jk_pool.c 12 May 2003 10:55:50 -0000 1.16
@@ -358,18 +358,18 @@
{
char *cp, *argp, *res;
- apr_size_t saved_lengths[MAX_SAVED_LENGTHS];
+ size_t saved_lengths[MAX_SAVED_LENGTHS];
int nargs = 0;
/* Pass one --- find length of required string */
- apr_size_t len = 0;
+ size_t len = 0;
va_list adummy;
va_start(adummy, p);
while ((cp = va_arg(adummy, char *)) != NULL) {
- apr_size_t cplen = strlen(cp);
+ size_t cplen = strlen(cp);
if (nargs < MAX_SAVED_LENGTHS) {
saved_lengths[nargs++] = cplen;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org