Skip to content

Commit ca27c86

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: fix zts
2 parents 4247f62 + 6d1d8ec commit ca27c86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/session/session.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ static int php_session_cache_limiter(TSRMLS_D) /* {{{ */
13021302
* It must be directly removed from SG(sapi_header) because sapi_add_header_ex()
13031303
* removes all of matching cookie. i.e. It deletes all of Set-Cookie headers.
13041304
*/
1305-
static void php_session_remove_cookie() {
1305+
static void php_session_remove_cookie(TSRMLS_D) {
13061306
sapi_header_struct *header;
13071307
zend_llist *l = &SG(sapi_headers).headers;
13081308
zend_llist_element *next;
@@ -1408,7 +1408,7 @@ static void php_session_send_cookie(TSRMLS_D) /* {{{ */
14081408

14091409
smart_str_0(&ncookie);
14101410

1411-
php_session_remove_cookie(); /* remove already sent session ID cookie */
1411+
php_session_remove_cookie(TSRMLS_C); /* remove already sent session ID cookie */
14121412
sapi_add_header_ex(ncookie.c, ncookie.len, 0, 0 TSRMLS_CC);
14131413
}
14141414
/* }}} */

0 commit comments

Comments
 (0)