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_negotiate.c
diff --git
a/php_http_negotiate.c
b/php_http_negotiate.c
index b8f50f1105721a1de6c60d79424b77d3833d8c33..7fb7c568396e9d8e62d7ebcf976a6437103f2456 100644
(file)
--- a/
php_http_negotiate.c
+++ b/
php_http_negotiate.c
@@
-149,7
+149,7
@@
PHP_HTTP_API HashTable *php_http_negotiate(const char *value, HashTable *support
if ((selected = neg(identifier, &quality, supported TSRMLS_CC))) {
/* don't overwrite previously set with higher quality */
if ((selected = neg(identifier, &quality, supported TSRMLS_CC))) {
/* don't overwrite previously set with higher quality */
- if (!zend_
hash
_exists(Z_ARRVAL(array), selected, strlen(selected) + 1)) {
+ if (!zend_
symtable
_exists(Z_ARRVAL(array), selected, strlen(selected) + 1)) {
add_assoc_double(&array, selected, quality);
}
}
add_assoc_double(&array, selected, quality);
}
}