projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fixup message/body serialization
[m6w6/ext-http]
/
src
/
php_http_negotiate.h
diff --git
a/src/php_http_negotiate.h
b/src/php_http_negotiate.h
index 44f173589ea3369c54c87466fad1e7b9ac150472..07e556431831dd5630db88bfc0443becbcf566da 100644
(file)
--- a/
src/php_http_negotiate.h
+++ b/
src/php_http_negotiate.h
@@
-74,9
+74,10
@@
static inline HashTable *php_http_negotiate_content_type(HashTable *supported, p
#define PHP_HTTP_DO_NEGOTIATE_DEFAULT(supported) \
{ \
zval *value; \
#define PHP_HTTP_DO_NEGOTIATE_DEFAULT(supported) \
{ \
zval *value; \
+ HashPosition pos; \
\
\
- zend_hash_internal_pointer_reset
((supported)
); \
- if ((value = zend_hash_get_current_data
((supported)
))) { \
+ zend_hash_internal_pointer_reset
_ex((supported), &pos
); \
+ if ((value = zend_hash_get_current_data
_ex((supported), &pos
))) { \
RETVAL_ZVAL(value, 1, 0); \
} else { \
RETVAL_NULL(); \
RETVAL_ZVAL(value, 1, 0); \
} else { \
RETVAL_NULL(); \