cvs: php-src(PHP_5_2) /ext/standard dns.c
| From: | Antony Dovgal | Date: | Mon, 14 May 2007 11:33:34 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard dns.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-44290@lists.php.net to get a copy of this message | ||
tony2001 Mon May 14 11:33:34 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard dns.c
Log:
fix CS
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.3&r2=1.70.2.7.2.4&diff_format=u
Index: php-src/ext/standard/dns.c
diff -u php-src/ext/standard/dns.c:1.70.2.7.2.3 php-src/ext/standard/dns.c:1.70.2.7.2.4
--- php-src/ext/standard/dns.c:1.70.2.7.2.3 Thu May 10 13:16:54 2007
+++ php-src/ext/standard/dns.c Mon May 14 11:33:34 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.70.2.7.2.3 2007/05/10 13:16:54 scottmac Exp $ */
+/* $Id: dns.c,v 1.70.2.7.2.4 2007/05/14 11:33:34 tony2001 Exp $ */
/* {{{ includes */
#include "php.h"
@@ -265,8 +265,7 @@
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 @@
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;
}