yohgaki Sat Sep 7 21:06:30 2002 EDT
Modified files:
/php4/main SAPI.c
Log:
Added missing charset.
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.149 php4/main/SAPI.c:1.150
--- php4/main/SAPI.c:1.149 Sat Sep 7 13:48:51 2002
+++ php4/main/SAPI.c Sat Sep 7 21:06:29 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.149 2002/09/07 17:48:51 hholzgra Exp $ */
+/* $Id: SAPI.c,v 1.150 2002/09/08 01:06:29 yohgaki Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -266,6 +266,7 @@
newtype = emalloc(newlen + 1);
PHP_STRLCPY(newtype, *mimetype, newlen + 1, len);
strlcat(newtype, ";charset=", newlen + 1);
+ strlcat(newtype, charset, newlen + 1);
efree(*mimetype);
*mimetype = newtype;
return newlen;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php