com php-src: ptr needed here: ext/standard/dns_win32.c

From: Date: Wed, 14 May 2014 18:05:54 +0000
Subject: com php-src: ptr needed here: ext/standard/dns_win32.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78349@lists.php.net to get a copy of this message
Commit: 01513976e74537d76306f81f08e0a608835703cb Author: Pierre Joye <pierre.php@gmail.com> Wed, 14 May 2014 20:05:54 +0200 Parents: c26d79c8541a2f20a2d92838b5f90b72ec239c8b Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=01513976e74537d76306f81f08e0a608835703cb Log: ptr needed here Changed paths: M ext/standard/dns_win32.c Diff: diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c index bf2100c..f255ebb 100644 --- a/ext/standard/dns_win32.c +++ b/ext/standard/dns_win32.c @@ -213,7 +213,7 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, int raw, add_assoc_string(subarray, "type", "TXT"); - array_init(entries); + array_init(&entries); for (i = 0; i < count; i++) { txt_len += strlen(data_txt->pStringArray[i]) + 1; @@ -227,7 +227,7 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, int raw, add_next_index_stringl(&entries, data_txt->pStringArray[i], len); txt_dst += len; } - tct->len = txt_dst - txt->val; + txt->len = txt_dst - txt->val; add_assoc_str(subarray, "txt", txt); add_assoc_zval(subarray, "entries", &entries); }

« previous php.cvs (#78349) next »