bad-checkin-20040323
authorJeffrey Altman <jaltman@mit.edu>
Wed, 24 Mar 2004 09:22:59 +0000 (09:22 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 24 Mar 2004 09:22:59 +0000 (09:22 +0000)
bad checkin

src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/cm_dns.c

index 5094885..c6cfb30 100644 (file)
@@ -89,7 +89,7 @@ cm_initparams_v1 cm_initParams;
 HANDLE afsi_file;
 
 #ifdef AFS_AFSDB_ENV
-int cm_dnsEnabled = 1;
+extern int cm_dnsEnabled;
 #endif
 
 char cm_NetBiosName[32];
index c9d452d..0d53e51 100644 (file)
@@ -26,7 +26,11 @@ static char dns_addr[30];
 #ifdef DJGPP
 extern char cm_confDir[];
 #endif
+#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x500
 int cm_dnsEnabled = -1;
+#else
+int cm_dnsEnabled = 1;  /* assume on */
+#endif
 
 void DNSlowerCase(char *str)
 {