Branch: Tag:

2001-10-03

2001-10-03 11:05:41 by Per Hedbor <ph@opera.com>

Use the global functions in Protocols.DNS

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.32
Rev: lib/modules/Protocols.pmod/SMTP.pmod:1.15

57:    if(!server)    {    // Lookup MX record here (Using DNS.pmod) -  object dns=master()->resolv("Protocols")["DNS"]->client(); -  server=dns->get_primary_mx(gethostname()); +  server=master()->resolv("Protocols.DNS.get_primary_mx")(gethostname());    }       if(!port)