cvs: php4 /main SAPI.c

From: Date: Sun, 08 Sep 2002 01:06:30 +0000
Subject: cvs: php4 /main SAPI.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13920@lists.php.net to get a copy of this message
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;

« previous php.cvs (#13920) next »