[mapserver-commits] r11060 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Mar 3 18:03:17 EST 2011
Author: tamas
Date: 2011-03-03 15:03:17 -0800 (Thu, 03 Mar 2011)
New Revision: 11060
Modified:
trunk/mapserver/mapwcs.c
Log:
Fix for the build problem with MSVC
Modified: trunk/mapserver/mapwcs.c
===================================================================
--- trunk/mapserver/mapwcs.c 2011-03-03 22:47:02 UTC (rev 11059)
+++ trunk/mapserver/mapwcs.c 2011-03-03 23:03:17 UTC (rev 11060)
@@ -379,9 +379,10 @@
/* concatenate all sections by ',' */
for(sectionNode = child->children; sectionNode != NULL; sectionNode = sectionNode->next)
{
+ char *content;
if(!EQUAL((char *)sectionNode->name, "Section"))
continue;
- char *content = (char *)xmlNodeGetContent(sectionNode);
+ content = (char *)xmlNodeGetContent(sectionNode);
if(!params->section)
{
params->section = content;
More information about the mapserver-commits
mailing list