You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2006/11/19 02:34:48 UTC
svn commit: r476680 -
/tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
Author: rjung
Date: Sat Nov 18 17:34:47 2006
New Revision: 476680
URL: http://svn.apache.org/viewvc?view=rev&rev=476680
Log:
Fix operator precedence.
Modified:
tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
Modified: tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c?view=diff&rev=476680&r1=476679&r2=476680
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c Sat Nov 18 17:34:47 2006
@@ -245,7 +245,7 @@
for (i = 0; i < uw_map->size; i++) {
uwr = uw_map->maps[i];
if (strcmp(uwr->uri, puri) == 0) {
- if (uwr->match_type & MATCH_TYPE_NO_MATCH == match_type & MATCH_TYPE_NO_MATCH) {
+ if ((uwr->match_type & MATCH_TYPE_NO_MATCH) == (match_type & MATCH_TYPE_NO_MATCH)) {
/* Update disabled flag */
if (match_type & MATCH_TYPE_DISABLED)
uwr->match_type |= MATCH_TYPE_DISABLED;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org