[mapserver-commits] r12322 - trunk/mapserver/mapcache/src
svn at osgeo.org
svn at osgeo.org
Fri Aug 26 07:16:50 EDT 2011
Author: tbonfort
Date: 2011-08-26 04:16:50 -0700 (Fri, 26 Aug 2011)
New Revision: 12322
Modified:
trunk/mapserver/mapcache/src/core.c
Log:
add mod0geocache version string to server header (can be disabled)
thomas.bonfort | 2011-03-03 10:43:47 +0100 (Thu, 03 Mar 2011)
Modified: trunk/mapserver/mapcache/src/core.c
===================================================================
--- trunk/mapserver/mapcache/src/core.c 2011-08-26 11:16:46 UTC (rev 12321)
+++ trunk/mapserver/mapcache/src/core.c 2011-08-26 11:16:50 UTC (rev 12322)
@@ -94,7 +94,7 @@
geocache_map *basemap = req_map->maps[0];
basemap->tileset->source->render_map(ctx, basemap);
if(GC_HAS_ERROR(ctx)) return NULL;
- if(i>1) {
+ if(req_map->nmaps>1) {
geocache_image *baseim = geocache_imageio_decode(ctx,basemap->data);
if(GC_HAS_ERROR(ctx)) return NULL;
for(i=1;i<req_map->nmaps;i++) {
More information about the mapserver-commits
mailing list