Author: rjung
Date: Sat May 31 18:50:34 2014
New Revision: 1598897

URL: http://svn.apache.org/r1598897
Log:
Correction to r1598864: Fix debug log check condition.
Thanks to kkolinko for the review.

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

Modified: tomcat/jk/trunk/native/common/jk_uri_worker_map.c
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_uri_worker_map.c?rev=1598897&r1=1598896&r2=1598897&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_uri_worker_map.c (original)
+++ tomcat/jk/trunk/native/common/jk_uri_worker_map.c Sat May 31 18:50:34 2014
@@ -1093,10 +1093,12 @@ const char *map_uri_to_worker_ext(jk_uri
     if (index)
         *index = -1;
     if (*uri != '/') {
-        if (*uri == '*' && *(uri+1) == '\0' && JK_IS_DEBUG_LEVEL(l)) {
+        if (*uri == '*' && *(uri+1) == '\0') {
             /* Most likely an "OPTIONS *" request */
-            jk_log(l, JK_LOG_DEBUG,
-                   "Uri %s can't be mapped.", uri);
+            if (JK_IS_DEBUG_LEVEL(l)) {
+                jk_log(l, JK_LOG_DEBUG,
+                       "Uri %s can't be mapped.", uri);
+            }
         } else {
             jk_log(l, JK_LOG_WARNING,
                    "Uri %s is invalid. Uri must start with /", uri);



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to