[mapserver-commits] r7462 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Mar 19 11:08:40 EDT 2008


Author: Assefa
Date: 2008-03-19 11:08:39 -0400 (Wed, 19 Mar 2008)
New Revision: 7462

Modified:
   trunk/mapserver/mapwms.c
Log:
Correct build on windows

Modified: trunk/mapserver/mapwms.c
===================================================================
--- trunk/mapserver/mapwms.c	2008-03-18 22:24:13 UTC (rev 7461)
+++ trunk/mapserver/mapwms.c	2008-03-19 15:08:39 UTC (rev 7462)
@@ -2120,6 +2120,7 @@
   imageObj *img;
   int i = 0;
   int sldrequested = MS_FALSE,  sldspatialfilter = MS_FALSE;
+  const char *http_max_age;
 
   /* __TODO__ msDrawMap() will try to adjust the extent of the map */
   /* to match the width/height image ratio. */
@@ -2199,7 +2200,7 @@
   
   /* Set the HTTP Cache-control headers if they are defined
      in the map object */
-  const char *http_max_age;
+  
   if( (http_max_age = msOWSLookupMetadata(&(map->web.metadata), "MO", "http_max_age")) ) {
     msIO_printf("Cache-Control: max-age=%s\n", http_max_age , 10, 10);
   }



More information about the mapserver-commits mailing list