X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_env_response.c;h=cc739df2aff199e2e20c39d25afdfc82f36e6d4e;hp=f6e23cfa029252afd69829cf04f4438bd3a957b1;hb=8d05291f42b3b42159b3fe91492aa4862f3d4405;hpb=e76f27074a23b1cf83fdd81f97a5c767399225a6 diff --git a/php_http_env_response.c b/php_http_env_response.c index f6e23cf..cc739df 100644 --- a/php_http_env_response.c +++ b/php_http_env_response.c @@ -6,12 +6,10 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2010, Michael Wallner | + | Copyright (c) 2004-2011, Michael Wallner | +--------------------------------------------------------------------+ */ -/* $Id $ */ - #include "php_http.h" #include
@@ -70,7 +68,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;