X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_url_api.c;h=dd7066085d514e010937b7b88d5fa5d1b67f21bb;hp=aa0c1f37c835692631866bd1083565604c39a6d6;hb=34644fd4c700fb55c3a2c2ff9966d0f5e7572509;hpb=0fba8595e6e2de88cad39460340d620a089c55ed diff --git a/http_url_api.c b/http_url_api.c index aa0c1f3..dd70660 100644 --- a/http_url_api.c +++ b/http_url_api.c @@ -214,6 +214,7 @@ PHP_HTTP_API STATUS _http_urlencode_hash_recursive(HashTable *ht, phpstr *str, c uint len = 0; ulong idx = 0; zval **data = NULL; + HashPosition pos; if (!ht || !str) { http_error(HE_WARNING, HTTP_E_INVALID_PARAM, "Invalid parameters"); @@ -223,7 +224,7 @@ PHP_HTTP_API STATUS _http_urlencode_hash_recursive(HashTable *ht, phpstr *str, c return SUCCESS; } - FOREACH_HASH_KEYLENVAL(ht, key, len, idx, data) { + FOREACH_HASH_KEYLENVAL(pos, ht, key, len, idx, data) { char *encoded_key; int encoded_len; phpstr new_prefix;