[mapserver-commits] r7495 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Apr 4 23:01:28 EDT 2008
Author: warmerdam
Date: 2008-04-04 23:01:28 -0400 (Fri, 04 Apr 2008)
New Revision: 7495
Modified:
trunk/mapserver/mapwcs11.c
Log:
fix temporary problem in exception handling for WCS 1.1 GetCoverage
Modified: trunk/mapserver/mapwcs11.c
===================================================================
--- trunk/mapserver/mapwcs11.c 2008-04-03 20:30:50 UTC (rev 7494)
+++ trunk/mapserver/mapwcs11.c 2008-04-05 03:01:28 UTC (rev 7495)
@@ -1101,8 +1101,12 @@
msReleaseLock( TLOCK_GDAL );
status = msSaveImage(map, image, filename);
if( status != MS_SUCCESS )
- msSetError(MS_MISCERR, "msSaveImage() failed", "msWCSReturnCoverage11()");
- return msWCSException11(map, "mapserv", "NoApplicableCode", params->version);
+ {
+ msSetError(MS_MISCERR, "msSaveImage() failed",
+ "msWCSReturnCoverage11()");
+ return msWCSException11(map, "mapserv", "NoApplicableCode",
+ params->version);
+ }
}
msReleaseLock( TLOCK_GDAL );
}
More information about the mapserver-commits
mailing list