Branch: Tag:

2004-09-15

2004-09-15 19:59:05 by Marian <Marian@pixelweb.net>

Bugfix for MacOS X. Thanks to Marian@pixelweb.net.

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

1: - // $Id: DNS.pmod,v 1.71 2003/09/11 16:53:18 kiwi Exp $ + // $Id: DNS.pmod,v 1.72 2004/09/15 19:59:05 grubba Exp $   // Not yet finished -- Fredrik Hubinette      //! Domain Name System
610:    "/locations/resolver",    "nameserver")) {    nameservers = map(nameservers, `-, "\n"); +  } else { +  nameservers = ({});    }       if (domains = System->get_netinfo_property(".",    "/locations/resolver",    "domain")) {    domains = map(domains, `-, "\n"); -  +  } else { +  domains = ({});    }    } else {    /* FIXME: Is this a good idea?