X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_env_response.c;h=a374b425c74932ecd09642b034015ea6e2a53a39;hp=f6e23cfa029252afd69829cf04f4438bd3a957b1;hb=4062420a5e5d301db4a3d820be881e7675a242e1;hpb=e76f27074a23b1cf83fdd81f97a5c767399225a6 diff --git a/php_http_env_response.c b/php_http_env_response.c index f6e23cf..a374b42 100644 --- a/php_http_env_response.c +++ b/php_http_env_response.c @@ -70,7 +70,7 @@ static zval *get_option(zval *options, const char *name_str, size_t name_len TSR val = zend_read_property(Z_OBJCE_P(options), options, name, name_len, 0 TSRMLS_CC); efree(name); } else { - if (SUCCESS == zend_hash_find(Z_ARRVAL_P(options), name_str, name_len + 1, (void *) &valptr)) { + if (SUCCESS == zend_symtable_find(Z_ARRVAL_P(options), name_str, name_len + 1, (void *) &valptr)) { val = *valptr; } else { val = NULL;