sniper          Mon Dec  5 17:17:08 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/standard       dns.c 
  Log:
  MFH
  
http://cvs.php.net/diff.php/php-src/ext/standard/dns.c?r1=1.70.2.5&r2=1.70.2.6&ty=u
Index: php-src/ext/standard/dns.c
diff -u php-src/ext/standard/dns.c:1.70.2.5 php-src/ext/standard/dns.c:1.70.2.6
--- php-src/ext/standard/dns.c:1.70.2.5 Tue Oct 25 10:57:14 2005
+++ php-src/ext/standard/dns.c  Mon Dec  5 17:17:08 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: dns.c,v 1.70.2.5 2005/10/25 14:57:14 tony2001 Exp $ */
+/* $Id: dns.c,v 1.70.2.6 2005/12/05 22:17:08 sniper Exp $ */
 
 /* {{{ includes */
 #include "php.h"
@@ -655,7 +655,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;
@@ -684,10 +684,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:
@@ -845,7 +845,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;
@@ -867,7 +867,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;
 
@@ -876,7 +876,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

Reply via email to