From: Zeev Suraski Date: Sat, 15 Jan 2000 16:56:30 +0000 (+0000) Subject: Compile fixes for ZTS X-Git-Tag: BEFORE_PRE_SHUTDOWN_REVERSE_PATCH~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=259c05829befed42d81d2417f14eae6279eb37d2;p=php Compile fixes for ZTS --- diff --git a/ext/session/session.c b/ext/session/session.c index 04dd67f1a3..ebae9bdcde 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -523,6 +523,7 @@ static php_session_cache_limiter php_session_cache_limiters[] = { static void _php_session_cache_limiter(PSLS_D) { php_session_cache_limiter *lim; + SLS_FETCH(); if (SG(headers_sent)) { php_error(E_WARNING, "Cannot send session cache limiter - headers already sent"); @@ -549,6 +550,7 @@ static void _php_session_send_cookie(PSLS_D) int domainlen; char *cookie; char *date_fmt = NULL; + SLS_FETCH(); if (SG(headers_sent)) { php_error(E_WARNING, "Cannot send session cookie - headers already sent");