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

version» Context lines:

pike.git/lib/modules/Protocols.pmod/DNS.pmod:25:   constant T_MX=15;   constant T_TXT=16;   constant T_AAAA=28;         class protocol   {    string mklabel(string s)    {    if(strlen(s)>63) -  throw(({"Too long component in domain name",backtrace()})); +  throw(({"Too long component in domain name\n",backtrace()}));    return sprintf("%c%s",strlen(s),s);    }       string low_mkquery(int id,    string dname,    int cl,    int type)    {    return sprintf("%2c%c%c%2c%2c%2c%2c%s\000%2c%2c",    id,