diff options
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 4515dfc8cd..6a5dc71dd0 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -959,7 +959,7 @@ static void php_session_send_cookie(TSRMLS_D) struct timeval tv; gettimeofday(&tv, NULL); - date_fmt = php_std_date(tv.tv_sec + PS(cookie_lifetime)); + date_fmt = php_std_date(tv.tv_sec + PS(cookie_lifetime) TSRMLS_CC); smart_str_appends(&ncookie, COOKIE_EXPIRES); smart_str_appends(&ncookie, date_fmt); |