projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix query string
[m6w6/ext-http]
/
php_http_negotiate.h
diff --git
a/php_http_negotiate.h
b/php_http_negotiate.h
index 598e871cd03407b95f32ee3bea014a5172fa5cdb..58b709386d3d6df13949e0833f87b9be269399c6 100644
(file)
--- a/
php_http_negotiate.h
+++ b/
php_http_negotiate.h
@@
-102,7
+102,7
@@
static inline HashTable *php_http_negotiate_content_type(HashTable *supported, p
zend_string *key; \
zend_ulong idx; \
\
zend_string *key; \
zend_ulong idx; \
\
- if (zend_hash_num_elements(result) && HASH_KEY_IS_STRING == zend_hash_get_current_key
_ex(result, &key, &idx, NULL
)) { \
+ if (zend_hash_num_elements(result) && HASH_KEY_IS_STRING == zend_hash_get_current_key
(result, &key, &idx
)) { \
RETVAL_STR_COPY(key); \
} else { \
PHP_HTTP_DO_NEGOTIATE_DEFAULT(supported); \
RETVAL_STR_COPY(key); \
} else { \
PHP_HTTP_DO_NEGOTIATE_DEFAULT(supported); \