- fix phpinfo()
authorMichael Wallner <mike@php.net>
Sat, 19 Nov 2005 09:38:10 +0000 (09:38 +0000)
committerMichael Wallner <mike@php.net>
Sat, 19 Nov 2005 09:38:10 +0000 (09:38 +0000)
http.c

diff --git a/http.c b/http.c
index 4a7ccd969e81ace1da141861d238b045e4211d50..567d45668156a84bfe264067af07d69b35a71cdd 100644 (file)
--- a/http.c
+++ b/http.c
@@ -220,7 +220,7 @@ PHP_INI_MH(http_update_allowed_methods)
 #undef CASE_HTTP_ETAG_HASH
 #define CASE_HTTP_ETAG_HASH(HASH) \
        case HTTP_ETAG_##HASH: \
-               ZEND_WRITE(#HASH, lenof(#HASH)); \
+               ZEND_WRITE("HTTP_ETAG_"#HASH, lenof("HTTP_ETAG_"#HASH)); \
        break;
 PHP_INI_DISP(http_etag_mode_displayer)
 {