* net.cc (getdomainname): Fix registry key for 9x systems, too.
This commit is contained in:
parent
94ee02fa05
commit
562d97451a
|
@ -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>
|
||||
|
||||
* 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,
|
||||
(!wincap.is_winnt ()) ? "System" : "SYSTEM",
|
||||
"CurrentControlSet", "Services",
|
||||
(!wincap.is_winnt ()) ? "MSTCP" : "Tcpip",
|
||||
(!wincap.is_winnt ()) ? NULL : "Parameters",
|
||||
(!wincap.is_winnt ()) ? "VxD" : "Tcpip",
|
||||
(!wincap.is_winnt ()) ? "MSTCP" : "Parameters",
|
||||
NULL);
|
||||
|
||||
/* FIXME: Are registry keys case sensitive? */
|
||||
|
|
Loading…
Reference in New Issue