[mapserver-commits] r8680 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sun Mar 8 17:18:45 EDT 2009


Author: tomkralidis
Date: 2009-03-08 17:18:45 -0400 (Sun, 08 Mar 2009)
New Revision: 8680

Modified:
   trunk/mapserver/mapwfs.c
Log:
add brackets to enclose multiple lines (#2907)


Modified: trunk/mapserver/mapwfs.c
===================================================================
--- trunk/mapserver/mapwfs.c	2009-03-08 20:49:13 UTC (rev 8679)
+++ trunk/mapserver/mapwfs.c	2009-03-08 21:18:45 UTC (rev 8680)
@@ -1534,8 +1534,10 @@
     /* if no results where written (TODO: this needs to be GML2/3 specific I imagine */
     for(i=0; i<map->numlayers; i++) {
       if (GET_LAYER(map, i)->resultcache && GET_LAYER(map, i)->resultcache->numresults > 0)
+      {
         iNumberOfFeatures += GET_LAYER(map, i)->resultcache->numresults;
         break;
+      }
     }
 
     /*



More information about the mapserver-commits mailing list