From: Dmitry Stogov Date: Fri, 4 Dec 2009 07:11:37 +0000 (+0000) Subject: Fixed compilation X-Git-Tag: php-5.3.2RC1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ab649e65f97ba664e74793c326d135aab0bded4;p=php Fixed compilation --- diff --git a/ext/session/session.c b/ext/session/session.c index 87fec64d69..e331f43ff6 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -1965,7 +1965,7 @@ static PHP_FUNCTION(session_unregister) IF_SESSION_VARS() { SEPARATE_ZVAL_IF_NOT_REF(&PS(http_session_vars)); - PS_DEL_VARL(Z_STRVAL_PP(p_name), Z_STRLEN_PP(p_name)); + PS_DEL_VARL(p_name, p_name_len); } RETURN_TRUE;