[mapserver-commits] r10986 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Feb 11 23:35:00 EST 2011


Author: warmerdam
Date: 2011-02-11 20:35:00 -0800 (Fri, 11 Feb 2011)
New Revision: 10986

Modified:
   trunk/mapserver/mapwcs11.c
   trunk/mapserver/mapwcs20.c
Log:
adjust newlines in multipart wcs results (#3672)

Modified: trunk/mapserver/mapwcs11.c
===================================================================
--- trunk/mapserver/mapwcs11.c	2011-02-12 04:33:51 UTC (rev 10985)
+++ trunk/mapserver/mapwcs11.c	2011-02-12 04:35:00 UTC (rev 10986)
@@ -1246,7 +1246,7 @@
             return msWCSException11(map, "mapserv", "NoApplicableCode", params->version);
         }
 
-        msIO_fprintf( stdout, "--wcs--%c%c", 10, 10 );
+        msIO_fprintf( stdout, "\n--wcs--%c%c", 10, 10 );
         return MS_SUCCESS;
     }
 
@@ -1342,7 +1342,7 @@
         CSLDestroy( all_files );
         msReleaseLock( TLOCK_GDAL );
 
-        msIO_fprintf( stdout, "--wcs--%c%c", 10, 10 );
+        msIO_fprintf( stdout, "\n--wcs--%c%c", 10, 10 );
         return MS_SUCCESS;
     }
 #endif /* def GDAL_DCAP_VIRTUALIO */    

Modified: trunk/mapserver/mapwcs20.c
===================================================================
--- trunk/mapserver/mapwcs20.c	2011-02-12 04:33:51 UTC (rev 10985)
+++ trunk/mapserver/mapwcs20.c	2011-02-12 04:35:00 UTC (rev 10986)
@@ -1923,7 +1923,7 @@
             return msWCSException11(map, "mapserv", "NoApplicableCode", params->version);
         }
         if(multipart)
-            msIO_fprintf( stdout, "--wcs--%c%c", 10, 10 );
+            msIO_fprintf( stdout, "\n--wcs--%c%c", 10, 10 );
         return MS_SUCCESS;
     }
 
@@ -2026,7 +2026,7 @@
         CSLDestroy( all_files );
         msReleaseLock( TLOCK_GDAL );
         if(multipart)
-            msIO_fprintf( stdout, "--wcs--%c%c", 10, 10 );
+            msIO_fprintf( stdout, "\n--wcs--%c%c", 10, 10 );
         return MS_SUCCESS;
     }
 #endif /* def GDAL_DCAP_VIRTUALIO */



More information about the mapserver-commits mailing list