projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
use zend_symtable where appropriate
[m6w6/ext-http]
/
php_http_env_response.c
diff --git
a/php_http_env_response.c
b/php_http_env_response.c
index f6e23cfa029252afd69829cf04f4438bd3a957b1..a374b425c74932ecd09642b034015ea6e2a53a39 100644
(file)
--- 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 {
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;
val = *valptr;
} else {
val = NULL;