diff options
| author | Martin Jansen <martin@divbyzero.net> | 2014-05-18 10:45:31 +0200 |
|---|---|---|
| committer | Martin Jansen <martin@divbyzero.net> | 2014-05-18 10:45:31 +0200 |
| commit | 068bf645e1c9952008e08570dad27bb03101e689 (patch) | |
| tree | 72025968345d91255cf6fdb6ac7b5346a882d9f6 /ext/session/session.c | |
| parent | c5f9a231d5adc8cf8ab9890f0acc27206495a080 (diff) | |
| download | php-git-068bf645e1c9952008e08570dad27bb03101e689.tar.gz | |
Remove usage of pointless COOKIE_SET_COOKIE constant.
Diffstat (limited to 'ext/session/session.c')
| -rw-r--r-- | ext/session/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index c5d710096d..62ebaf28a1 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -1355,7 +1355,7 @@ static void php_session_send_cookie(TSRMLS_D) /* {{{ */ e_session_name = php_url_encode(PS(session_name), strlen(PS(session_name)), NULL); e_id = php_url_encode(PS(id), strlen(PS(id)), NULL); - smart_str_appends(&ncookie, COOKIE_SET_COOKIE); + smart_str_appends(&ncookie, "Set-Cookie: "); smart_str_appends(&ncookie, e_session_name); smart_str_appendc(&ncookie, '='); smart_str_appends(&ncookie, e_id); |
