Branch: Tag:

2000-07-23

2000-07-23 21:44:12 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for Win32

Rev: lib/modules/Protocols.pmod/DNS.pmod:1.45

487: Inside #if __NT__
   domain=get_tcpip_param("Domain");    nameservers = replace(get_tcpip_param("NameServer"),","," ") / " ";    nameservers-=({""}); -  domains=rreplace(get_tcpip_param("SearchList"),","," ") / " "; -  domains- =({""}); +  domains=replace(get_tcpip_param("SearchList"),","," ") / " "; +  domains-=({""});   #else    string resolv_conf;    foreach(({"/etc/resolv.conf", "/amitcp/db/resolv.conf"}), string resolv_loc)