Branch: Tag:

1999-07-25

1999-07-25 18:09:33 by David Hedbor <david@hedbor.org>

Fixed rec_data to use new callback method

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

558:    next_client->do_query(domain, cl, type, callback, @args);    }    -  static private void rec_data() +  static private void rec_data(mapping m)    {    mixed err;    if (err = catch { -  mapping m=udp::read(); +     if(m->port != 53 || search(nameservers, m->ip) == -1) return;    sscanf(m->data,"%2c",int id);    object r=requests[id];