sniper Sun Dec 7 13:19:31 2003 EDT Modified files: /php-src/ext/standard dns.c Log: ws Index: php-src/ext/standard/dns.c diff -u php-src/ext/standard/dns.c:1.64 php-src/ext/standard/dns.c:1.65 --- php-src/ext/standard/dns.c:1.64 Fri Oct 24 13:09:36 2003 +++ php-src/ext/standard/dns.c Sun Dec 7 13:19:30 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dns.c,v 1.64 2003/10/24 17:09:36 markonen Exp $ */ +/* $Id: dns.c,v 1.65 2003/12/07 18:19:30 sniper Exp $ */ /* {{{ includes */ #include "php.h" @@ -89,7 +89,7 @@ addr = php_gethostbyaddr(Z_STRVAL_PP(arg)); - if(addr == NULL) { + if (addr == NULL) { #if HAVE_IPV6 && HAVE_INET_PTON php_error_docref(NULL TSRMLS_CC, E_WARNING, "Address is not a valid IPv4 or IPv6 address"); #else @@ -321,7 +321,8 @@ } querybuf; /* {{{ php_parserr */ -static u_char *php_parserr(u_char *cp, querybuf *answer, int type_to_fetch, int store, zval **subarray) { +static u_char *php_parserr(u_char *cp, querybuf *answer, int type_to_fetch, int store, zval **subarray) +{ u_short type, class, dlen; u_long ttl; long n, i; @@ -572,7 +573,7 @@ for(type = (type_param==PHP_DNS_ANY ? (PHP_DNS_NUM_TYPES + 1) : 0); type < (addtl_recs ? (PHP_DNS_NUM_TYPES + 2) : PHP_DNS_NUM_TYPES) || first_query; type++) { first_query = 0; - switch(type) { + switch (type) { case 0: type_to_fetch = type_param&PHP_DNS_A ? T_A : 0; break; @@ -711,7 +712,7 @@ u_char *cp, *end; int i; - switch(ZEND_NUM_ARGS()) { + switch (ZEND_NUM_ARGS()) { case 2: if (zend_get_parameters(ht, 2, &host, &mx_list) == FAILURE) { WRONG_PARAM_COUNT;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php