Use zend_hash_add_empty_element

This commit is contained in:
Sascha Schumann 2001-05-19 14:51:39 +00:00
parent bc7a582f84
commit 060983b184

View File

@ -176,7 +176,7 @@ int php_session_register_serializer(const char *name,
int (*decode)(PS_SERIALIZER_DECODE_ARGS));
#define PS_ADD_VARL(name,namelen) \
zend_hash_update(&PS(vars), name, namelen + 1, 0, 0, NULL)
zend_hash_add_empty_element(&PS(vars), name, namelen + 1)
#define PS_ADD_VAR(name) PS_ADD_VARL(name, strlen(name))