Branch: Tag:

1997-12-04

1997-12-04 04:33:34 by Per Hedbor <ph@opera.com>

Fixed a misfeature

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

413:    {    callback(domain,0,@args);    }else{ -  callback(domain,answer->an[0][field],@args); +  foreach(answer->an, array an) +  if(an[field]) +  { +  callback(domain,an[field],@args); +  return;    } -  +  callback(domain,0,@args); +  return;    } -  +  }       void host_to_ip(string host, function callback, mixed ... args)    {