sniper Mon Dec 5 17:16:44 2005 EDT Modified files: /php-src/ext/standard dns.c Log: - Nuke php3 legacy http://cvs.php.net/diff.php/php-src/ext/standard/dns.c?r1=1.76&r2=1.77&ty=u Index: php-src/ext/standard/dns.c diff -u php-src/ext/standard/dns.c:1.76 php-src/ext/standard/dns.c:1.77 --- php-src/ext/standard/dns.c:1.76 Tue Oct 25 10:56:48 2005 +++ php-src/ext/standard/dns.c Mon Dec 5 17:16:42 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dns.c,v 1.76 2005/10/25 14:56:48 tony2001 Exp $ */ +/* $Id: dns.c,v 1.77 2005/12/05 22:16:42 sniper Exp $ */ /* {{{ includes */ #include "php.h" @@ -663,7 +663,7 @@ Get any Resource Record corresponding to a given Internet host name */ PHP_FUNCTION(dns_get_record) { - pval *addtl, *host, *authns, *fetch_type; + zval *addtl, *host, *authns, *fetch_type; int addtl_recs = 0; int type_to_fetch, type_param = PHP_DNS_ANY; struct __res_state res; @@ -692,10 +692,10 @@ } convert_to_long(fetch_type); type_param = Z_LVAL_P(fetch_type); - pval_destructor(authns); + zval_dtor(authns); addtl_recs = 1; /* We want the additional Records */ array_init(authns); - pval_destructor(addtl); + zval_dtor(addtl); array_init(addtl); break; default: @@ -853,7 +853,7 @@ Get MX records corresponding to a given Internet host name */ PHP_FUNCTION(dns_get_mx) { - pval *host, *mx_list, *weight_list; + zval *host, *mx_list, *weight_list; int need_weight = 0; int count, qdc; u_short type, weight; @@ -875,7 +875,7 @@ WRONG_PARAM_COUNT; } need_weight = 1; - pval_destructor(weight_list); /* start with clean array */ + zval_dtor(weight_list); /* start with clean array */ array_init(weight_list); break; @@ -884,7 +884,7 @@ } convert_to_string(host); - pval_destructor(mx_list); /* start with clean array */ + zval_dtor(mx_list); /* start with clean array */ array_init(mx_list); /* Go! */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php