* net.cc (getdomainname): Fix registry key for 9x systems, too.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2002-01-29  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* net.cc (getdomainname): Fix registry key for 9x systems, too. | ||||||
|  |  | ||||||
| 2002-01-29  Corinna Vinschen  <corinna@vinschen.de> | 2002-01-29  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* net.cc (getdomainname): Fix registry key for NT systems. | 	* net.cc (getdomainname): Fix registry key for NT systems. | ||||||
|   | |||||||
| @@ -1628,8 +1628,8 @@ getdomainname (char *domain, int len) | |||||||
|   reg_key r (HKEY_LOCAL_MACHINE, KEY_READ, |   reg_key r (HKEY_LOCAL_MACHINE, KEY_READ, | ||||||
| 	     (!wincap.is_winnt ()) ? "System" : "SYSTEM", | 	     (!wincap.is_winnt ()) ? "System" : "SYSTEM", | ||||||
| 	     "CurrentControlSet", "Services", | 	     "CurrentControlSet", "Services", | ||||||
| 	     (!wincap.is_winnt ()) ? "MSTCP" : "Tcpip", | 	     (!wincap.is_winnt ()) ? "VxD" : "Tcpip", | ||||||
| 	     (!wincap.is_winnt ()) ? NULL : "Parameters", | 	     (!wincap.is_winnt ()) ? "MSTCP" : "Parameters", | ||||||
| 	     NULL); | 	     NULL); | ||||||
|  |  | ||||||
|   /* FIXME: Are registry keys case sensitive? */ |   /* FIXME: Are registry keys case sensitive? */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user