projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
prepare v3.2.5
[m6w6/ext-http]
/
src
/
php_http_env.c
diff --git
a/src/php_http_env.c
b/src/php_http_env.c
index 21bd89ab73d504a51a7c08ffe0a3dfec095bd7ca..4afcd312b45d16b1ac011896f1646bed01af14d8 100644
(file)
--- a/
src/php_http_env.c
+++ b/
src/php_http_env.c
@@
-501,7
+501,7
@@
ZEND_RESULT_CODE php_http_env_set_response_header_value(long http_code, const ch
return FAILURE;
}
h.response_code = http_code;
return FAILURE;
}
h.response_code = http_code;
- h.line_len = spprintf(&h.line, 0, "%
.*s: %.*s", (int) name_len, name_str, data->len
, data->val);
+ h.line_len = spprintf(&h.line, 0, "%
s: %s", name_str
, data->val);
ret = sapi_header_op(replace ? SAPI_HEADER_REPLACE : SAPI_HEADER_ADD, (void *) &h);
ret = sapi_header_op(replace ? SAPI_HEADER_REPLACE : SAPI_HEADER_ADD, (void *) &h);