pike.git/lib/modules/Protocols.pmod/DNS.pmod:222: Inside #if defined(__NT__)
#ifdef __NT__
string get_tcpip_param(string val)
{
foreach(({
"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters",
"SYSTEM\\CurrentControlSet\\Services\\VxD\\MSTCP"
}),string key)
{
catch {
- return RegGetValue(HKEY_LOCAL_MACHINE, key, value);
+ return RegGetValue(HKEY_LOCAL_MACHINE, key, val);
};
}
}
#endif
static private string match_etc_hosts(string host)
{
if (!etc_hosts) {
string raw;
#ifdef __NT__