diff options
author | Stefan Esser <sesser@php.net> | 2002-01-14 13:43:03 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2002-01-14 13:43:03 +0000 |
commit | 882415354a603dbd41daf3c87123bf7ab83bde6c (patch) | |
tree | f78496bbf0aaf6deeb13147c0e0ed02ea80985bd | |
parent | c4f239e6abc7cc01583d5ce84632a2196f79517a (diff) | |
download | php-git-882415354a603dbd41daf3c87123bf7ab83bde6c.tar.gz |
MFH: fix for bug #14776
-rw-r--r-- | main/SAPI.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 7c3a14b292..d3fac5215b 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -461,6 +461,7 @@ SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bo ptr_len = strlen(ptr); MAKE_STD_ZVAL(repl_temp); + Z_TYPE_P(repl_temp) = IS_STRING; Z_STRVAL_P(repl_temp) = emalloc(32); Z_STRLEN_P(repl_temp) = sprintf(Z_STRVAL_P(repl_temp), "realm=\"\\1-%ld\"", myuid); /* Modify quoted realm value */ |