projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- FOREACH macros now require a HashPosition argument
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index 469dd946d6227d886625c455220796982d3fa24a..de673a724061383a2ad7eb52812dcb38169185e7 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-137,9
+137,10
@@
PHP_FUNCTION(http_build_uri)
} \
\
if (rs_array) { \
+ HashPosition pos; \
zval **value; \
\
- FOREACH_VAL(supported, value) { \
+ FOREACH_VAL(
pos,
supported, value) { \
convert_to_string_ex(value); \
add_assoc_double(rs_array, Z_STRVAL_PP(value), 1.0); \
} \