From: Michael Wallner Date: Tue, 16 Aug 2016 12:09:54 +0000 (+0200) Subject: fix pointer advancement X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=HEAD;p=m6w6%2Fext-ares fix pointer advancement --- diff --git a/php_ares.c b/php_ares.c index a0c526b..1b86019 100644 --- a/php_ares.c +++ b/php_ares.c @@ -811,6 +811,7 @@ local int php_ares_parse_record(const unsigned char *abuf, const int alen, const if (entry) { add_next_index_zval(result, entry); } + *rptr = pointer; return SUCCESS; }