pike.git / lib / modules / Protocols.pmod / DNS.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/DNS.pmod:303:    mixed err = catch {    udp->bind(port, device, 1);    return 1;    };   #if constant(System.EADDRINUSE)    if (errno() == System.EADDRINUSE) return 0;   #endif   #if constant(System.WSAEACCES)    if (errno() == System.WSAEACCES) return 0;   #endif -  werror("Protocols.DNS: Binding of UDP port failed with errno %d: %m.\n", -  errno()); +  werror("Protocols.DNS: Binding of UDP port failed with errno %d: %s.\n", +  errno(), strerror(errno()));    master()->handle_error(err);    return 0;   }      //! Low level DNS protocol   class protocol   {    string mklabel(string s)    {    if(sizeof(s)>63)