Skip to content

Commit

Permalink
fix string comparison length of fadc37a
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Sep 16, 2012
1 parent 6bdc100 commit 11b383b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapogcfiltercommon.c
Expand Up @@ -538,7 +538,7 @@ char *FLTGetSpatialComparisonCommonExpression(FilterEncodingNode *psNode, layerO

if (strncasecmp(psNode->pszValue, "intersect", 9) == 0)
pszTmp = msStrdup("intersects");
if (strncasecmp(psNode->pszValue, "equals", 9) == 0)
if (strncasecmp(psNode->pszValue, "equals", 6) == 0)
pszTmp = msStrdup("eq");
else
pszTmp = msStrdup(psNode->pszValue);
Expand Down

0 comments on commit 11b383b

Please sign in to comment.