[mapserver-commits] r9900 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Feb 24 18:07:29 EST 2010
Author: warmerdam
Date: 2010-02-24 18:07:28 -0500 (Wed, 24 Feb 2010)
New Revision: 9900
Modified:
trunk/mapserver/mapraster.c
Log:
fix up missing/corrupt data handling
Modified: trunk/mapserver/mapraster.c
===================================================================
--- trunk/mapserver/mapraster.c 2010-02-24 23:06:28 UTC (rev 9899)
+++ trunk/mapserver/mapraster.c 2010-02-24 23:07:28 UTC (rev 9900)
@@ -548,18 +548,16 @@
msReleaseLock( TLOCK_GDAL );
if(ignore_missing == MS_MISSING_DATA_FAIL) {
- msSetError(MS_IOERR, "Corrupt or empty file '%s' for layer '%s'", "msDrawRasterLayerLow()", szPath, layer->name);
+ msSetError(MS_IOERR, "Corrupt, empty or missing file '%s' for layer '%s'", "msDrawRasterLayerLow()", szPath, layer->name);
return(MS_FAILURE);
}
else if( ignore_missing == MS_MISSING_DATA_LOG ) {
if( layer->debug || layer->map->debug ) {
- msDebug( "Corrupt or empty file '%s' for layer '%s' ... ignoring this missing data.\n", szPath, layer->name );
+ msDebug( "Corrupt, empty or missing file '%s' for layer '%s' ... ignoring this missing data.\n", szPath, layer->name );
}
- done = MS_TRUE;
continue;
}
else if( ignore_missing == MS_MISSING_DATA_IGNORE ) {
- done = MS_TRUE;
continue;
}
else {
More information about the mapserver-commits
mailing list