[mapserver-commits] r10655 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sat Oct 23 18:06:30 EDT 2010


Author: warmerdam
Date: 2010-10-23 15:06:30 -0700 (Sat, 23 Oct 2010)
New Revision: 10655

Modified:
   trunk/mapserver/mapwfs.c
Log:
revert last change related to startindex - original interpretation correct

Modified: trunk/mapserver/mapwfs.c
===================================================================
--- trunk/mapserver/mapwfs.c	2010-10-23 22:03:50 UTC (rev 10654)
+++ trunk/mapserver/mapwfs.c	2010-10-23 22:06:30 UTC (rev 10655)
@@ -2515,14 +2515,9 @@
     }
     else 
     {
-        int to_allow = maxfeatures, to_skip;
+        int to_allow = maxfeatures, to_skip = startindex-1;
         mapservObj *mapserv = msAllocMapServObj();
 
-        if( startindex < 1 )
-            to_skip = 0;
-        else
-            to_skip = startindex;
-
         /* Setup dummy mapserv object */
         mapserv->sendheaders = MS_TRUE;
         mapserv->map = map;



More information about the mapserver-commits mailing list