cvs: php4 /sapi/cgi cgi_main.c

From: Date: Wed, 04 Sep 2002 15:30:59 +0000
Subject: cvs: php4 /sapi/cgi cgi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13830@lists.php.net to get a copy of this message
helly Wed Sep 4 11:30:59 2002 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: Fix headers when default content type is used. #THIS fixes the problems with error_log() Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.179 php4/sapi/cgi/cgi_main.c:1.180 --- php4/sapi/cgi/cgi_main.c:1.179 Mon Aug 19 09:46:39 2002 +++ php4/sapi/cgi/cgi_main.c Wed Sep 4 11:30:56 2002 @@ -215,9 +215,9 @@ char *hd; hd = sapi_get_default_content_type(TSRMLS_C); - PHPWRITE("Content-type: ", sizeof("Content-type: ")-1); - PHPWRITE(hd, strlen(hd)); - PHPWRITE("\r\n", 2); + PHPWRITE_H("Content-type: ", sizeof("Content-type: ")-1); + PHPWRITE_H(hd, strlen(hd)); + PHPWRITE_H("\r\n", 2); efree(hd); }

« previous php.cvs (#13830) next »