* net.cc (getdomainname): Fix registry key for NT systems.

This commit is contained in:
Corinna Vinschen
2002-01-29 13:23:09 +00:00
parent 012858ecdc
commit 94ee02fa05
2 changed files with 5 additions and 0 deletions

View File

@@ -1629,6 +1629,7 @@ getdomainname (char *domain, int len)
(!wincap.is_winnt ()) ? "System" : "SYSTEM",
"CurrentControlSet", "Services",
(!wincap.is_winnt ()) ? "MSTCP" : "Tcpip",
(!wincap.is_winnt ()) ? NULL : "Parameters",
NULL);
/* FIXME: Are registry keys case sensitive? */