[mapserver-commits] r9595 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Dec 7 18:20:38 EST 2009


Author: assefa
Date: 2009-12-07 18:20:37 -0500 (Mon, 07 Dec 2009)
New Revision: 9595

Modified:
   trunk/mapserver/mapwfs.c
Log:
correct build warning

Modified: trunk/mapserver/mapwfs.c
===================================================================
--- trunk/mapserver/mapwfs.c	2009-12-07 19:34:43 UTC (rev 9594)
+++ trunk/mapserver/mapwfs.c	2009-12-07 23:20:37 UTC (rev 9595)
@@ -1340,7 +1340,7 @@
               {
                   /*over-ride the value only if it is unset or wfs maxfeattures is
                     lower that what is currently set*/
-                  if (lp->maxfeatures <=0 || lp->maxfeatures > 0 && maxfeatures < lp->maxfeatures)
+		if (lp->maxfeatures <=0 || (lp->maxfeatures > 0 && maxfeatures < lp->maxfeatures))
                     lp->maxfeatures = maxfeatures;
               }
           }



More information about the mapserver-commits mailing list