[mapserver-commits] r11040 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Mar 2 17:25:42 EST 2011
Author: tamas
Date: 2011-03-02 14:25:42 -0800 (Wed, 02 Mar 2011)
New Revision: 11040
Modified:
trunk/mapserver/mapows.c
Log:
Fix for the build problem with MSVC
Modified: trunk/mapserver/mapows.c
===================================================================
--- trunk/mapserver/mapows.c 2011-03-02 14:34:38 UTC (rev 11039)
+++ trunk/mapserver/mapows.c 2011-03-02 22:25:42 UTC (rev 11040)
@@ -155,12 +155,13 @@
const char *namespaces, const char *request)
{
int disabled = MS_FALSE; /* explicitly disabled flag */
+ const char *enable_request;
if (request == NULL)
return MS_FALSE;
/* First, we check in the layer metadata */
- const char *enable_request = msOWSLookupMetadata(&layer->metadata, namespaces, "enable_request");
+ enable_request = msOWSLookupMetadata(&layer->metadata, namespaces, "enable_request");
if (msOWSParseRequestMetadata(enable_request, request, &disabled))
return MS_TRUE;
if (disabled) return MS_FALSE;
More information about the mapserver-commits
mailing list