cvs: php4 /sapi/thttpd thttpd.c
| From: | Sascha Schumann | Date: | Tue, 07 Aug 2001 08:35:55 +0000 |
| Subject: | cvs: php4 /sapi/thttpd thttpd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6611@lists.php.net to get a copy of this message | ||
sas Tue Aug 7 04:35:55 2001 EDT
Modified files:
/php4/sapi/thttpd thttpd.c
Log:
A CRLF at the end of a line is not so wrong.
Index: php4/sapi/thttpd/thttpd.c
diff -u php4/sapi/thttpd/thttpd.c:1.54 php4/sapi/thttpd/thttpd.c:1.55
--- php4/sapi/thttpd/thttpd.c:1.54 Tue Aug 7 04:34:02 2001
+++ php4/sapi/thttpd/thttpd.c Tue Aug 7 04:35:54 2001
@@ -95,7 +95,7 @@
TG(hc)->bytes_sent += len;
n++;
-#define DEF_CONTENT_TYPE_LINE "Content-Type: text/html"
+#define DEF_CONTENT_TYPE_LINE "Content-Type: text/html\r\n"
if (SG(sapi_headers).send_default_content_type) {
vec[n].iov_base = DEF_CONTENT_TYPE_LINE;
vec[n].iov_len = sizeof(DEF_CONTENT_TYPE_LINE) - 1;