Author: markt
Date: Tue Sep 11 16:36:49 2018
New Revision: 1840592

URL: http://svn.apache.org/viewvc?rev=1840592&view=rev
Log:
Tweak patch to make Windows build happy.

Modified:
    tomcat/jk/trunk/native/common/jk_util.c

Modified: tomcat/jk/trunk/native/common/jk_util.c
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_util.c?rev=1840592&r1=1840591&r2=1840592&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_util.c (original)
+++ tomcat/jk/trunk/native/common/jk_util.c Tue Sep 11 16:36:49 2018
@@ -2288,6 +2288,8 @@ int jk_strip_session_id(char* path, char
 
     jsessionid = strstr(path, session_name);
     if (jsessionid) {
+       int i;
+       int j;
         if (JK_IS_DEBUG_LEVEL(logger)) {
             jk_log(logger, JK_LOG_DEBUG,
                        "removing session identifier for non servlet uri [%s]", 
path);
@@ -2295,8 +2297,8 @@ int jk_strip_session_id(char* path, char
        // Found a session path parameter.
        // Need to skip at least as many characters as there are in
        // strip_session_name
-       int i = strlen(session_name);
-       int j = 0;
+       i = (int) strlen(session_name);
+       j = 0;
        // Increment i until the first character after the parameter
        while (jsessionid[i] != '\0' && jsessionid[i] != ';' && jsessionid[i] 
!= '/') {
                i++;



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

Reply via email to