cvs: php4 /ext/standard dns.c
| From: | Sara Golemon | Date: | Fri, 20 Dec 2002 18:34:57 +0000 |
| Subject: | cvs: php4 /ext/standard dns.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17310@lists.php.net to get a copy of this message | ||
pollita Fri Dec 20 13:34:57 2002 EDT
Modified files:
/php4/ext/standard dns.c
Log:
Minor clarification in meaning of bitmask constants
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
Index: php4/ext/standard/dns.c
diff -u php4/ext/standard/dns.c:1.50 php4/ext/standard/dns.c:1.51
--- php4/ext/standard/dns.c:1.50 Mon Dec 9 06:50:15 2002
+++ php4/ext/standard/dns.c Fri Dec 20 13:34:56 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.50 2002/12/09 11:50:15 sniper Exp $ */
+/* $Id: dns.c,v 1.51 2002/12/20 18:34:56 pollita Exp $ */
/* {{{ includes */
#include "php.h"
@@ -269,8 +269,8 @@
/* PHP_DNS_xx = 1<<(T_xx-1) */
#define PHP_DNS_A 0x00000001
#define PHP_DNS_NS 0x00000002
-#define PHP_DNS_CNAME 0x00000020
-#define PHP_DNS_SOA 0x00000040
+#define PHP_DNS_CNAME 0x00000010
+#define PHP_DNS_SOA 0x00000020
#define PHP_DNS_PTR 0x00000800
#define PHP_DNS_HINFO 0x00001000
#define PHP_DNS_MX 0x00004000