summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-05-14 11:33:34 +0000
committerAntony Dovgal <tony2001@php.net>2007-05-14 11:33:34 +0000
commit725260ea0f083efaea66ba46ee32871804884a77 (patch)
tree6352092d59a549cb31dc211f3ae4edaa2e976a8c
parent2274c18cc668a2ff26fc4b609dd10cd8d958a93a (diff)
downloadphp-git-725260ea0f083efaea66ba46ee32871804884a77.tar.gz
fix CS
-rw-r--r--ext/standard/dns.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/standard/dns.c b/ext/standard/dns.c
index 4e4242458b..ee371e41b3 100644
--- a/ext/standard/dns.c
+++ b/ext/standard/dns.c
@@ -265,8 +265,7 @@ PHP_FUNCTION(dns_check_record)
type = T_MX;
convert_to_string_ex(arg1);
- if (Z_STRLEN_PP(arg1) == 0)
- {
+ if (Z_STRLEN_PP(arg1) == 0) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Host cannot be empty");
RETURN_FALSE;
}
@@ -279,8 +278,7 @@ PHP_FUNCTION(dns_check_record)
convert_to_string_ex(arg1);
convert_to_string_ex(arg2);
- if (Z_STRLEN_PP(arg1) == 0 || Z_STRLEN_PP(arg2) == 0)
- {
+ if (Z_STRLEN_PP(arg1) == 0 || Z_STRLEN_PP(arg2) == 0) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Host and type cannot be empty");
RETURN_FALSE;
}