[mapserver-commits] r12912 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Dec 23 10:03:41 EST 2011


Author: tbonfort
Date: 2011-12-23 07:03:41 -0800 (Fri, 23 Dec 2011)
New Revision: 12912

Modified:
   trunk/mapserver/maperror.c
Log:
fix typo on mimetype of error image


Modified: trunk/mapserver/maperror.c
===================================================================
--- trunk/mapserver/maperror.c	2011-12-23 15:03:11 UTC (rev 12911)
+++ trunk/mapserver/maperror.c	2011-12-23 15:03:41 UTC (rev 12912)
@@ -492,7 +492,7 @@
 
   /* actually write the image */
   if(!filename) {
-      msIO_setHeader("Content-type","%s");
+      msIO_setHeader("Content-type","image/gif");
       msIO_sendHeaders();
   }
   msSaveImage(NULL,img,filename);



More information about the mapserver-commits mailing list