cvs: /php4 SAPI.h output.c

From: Date: Mon, 13 Sep 1999 20:03:57 +0000
Subject: cvs: /php4 SAPI.h output.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-4402@lists.php.net to get a copy of this message
andi Mon Sep 13 16:03:57 1999 EDT Modified files: /php4 SAPI.h output.c Log: - X-* is probably more standard. Index: php4/SAPI.h diff -u php4/SAPI.h:1.19 php4/SAPI.h:1.20 --- php4/SAPI.h:1.19 Sun Sep 12 17:07:53 1999 +++ php4/SAPI.h Mon Sep 13 16:03:55 1999 @@ -151,7 +151,7 @@ #define SAPI_HEADER_SEND_FAILED 3 #define SAPI_DEFAULT_CONTENT_TYPE "Content-Type: text/html" -#define SAPI_PHP_VERSION_HEADER "PHP-Version: " PHP_VERSION +#define SAPI_PHP_VERSION_HEADER "X-Powered-By: PHP/" PHP_VERSION #define SAPI_POST_READER_FUNC(post_reader) void post_reader(char *content_type_dup SLS_DC) Index: php4/output.c diff -u php4/output.c:1.19 php4/output.c:1.20 --- php4/output.c:1.19 Sun Sep 12 07:36:45 1999 +++ php4/output.c Mon Sep 13 16:03:56 1999 @@ -185,7 +185,7 @@ static int php_ub_body_write_no_header(const char *str, uint str_length) { char *newstr = NULL; - uint new_length; + uint new_length=0; int result; session_adapt_uris(str, str_length, &newstr, &new_length);

« previous php.version4 (#4402) next »