[mapserver-commits] r8443 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Jan 20 15:09:02 EST 2009
Author: aboudreault
Date: 2009-01-20 15:09:01 -0500 (Tue, 20 Jan 2009)
New Revision: 8443
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapwms.c
Log:
Fixed bug with wms layer group hierarchy (#2810)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2009-01-20 16:34:39 UTC (rev 8442)
+++ trunk/mapserver/HISTORY.TXT 2009-01-20 20:09:01 UTC (rev 8443)
@@ -12,6 +12,8 @@
Current Version (5.3-dev, SVN trunk):
------------------------------------
+- Fixed bug with wms layer group hierarchy (#2810)
+
- Added updateFromString() methods for several objects in PHP/Mapscript (#2298)
- Added ms_newMapObjFromString mapObj constructor in PHP/Mapscript (#2399)
Modified: trunk/mapserver/mapwms.c
===================================================================
--- trunk/mapserver/mapwms.c 2009-01-20 16:34:39 UTC (rev 8442)
+++ trunk/mapserver/mapwms.c 2009-01-20 20:09:01 UTC (rev 8443)
@@ -1527,7 +1527,7 @@
/* compare all groups below the current level */
for (i = 0; i <= currentLevel; i++)
{
- if (strncmp(currentGroups[i], otherGroups[i], strlen(currentGroups[i])) != 0)
+ if (strcmp(currentGroups[i], otherGroups[i]) != 0)
{
return MS_FALSE; /* if one of these is not equal it is not a sub group */
}
More information about the mapserver-commits
mailing list