Remove PS_DEL_VAR macro, always use PS_DEL_VARL()

This commit is contained in:
Zeev Suraski 2001-12-06 13:33:10 +00:00
parent 84ed9d387f
commit 2258453ba3
2 changed files with 1 additions and 3 deletions

View File

@ -169,8 +169,6 @@ PHPAPI void php_session_set_id(char *id TSRMLS_DC);
#define PS_DEL_VARL(name,namelen) \
zend_hash_del(&PS(vars), name, namelen + 1);
#define PS_DEL_VAR(name) PS_DEL_VARL(name, strlen(name))
#define PS_ENCODE_VARS \
char *key; \
uint key_length; \

View File

@ -1276,7 +1276,7 @@ PHP_FUNCTION(session_unregister)
convert_to_string_ex(p_name);
PS_DEL_VAR(Z_STRVAL_PP(p_name));
PS_DEL_VARL(Z_STRVAL_PP(p_name), Z_STRLEN_PP(p_name));
RETURN_TRUE;
}