Show
Ignore:
Timestamp:
11/15/08 22:21:03 (21 months ago)
Author:
ahu
Message:

close ticket 203, odd error message or crash on malformed A record in a bindbackend zone file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/rcpgenerator.cc

    r1275 r1279  
    109109    else if(dns_isspace(d_string.at(d_pos)))  
    110110      break; 
    111     else 
    112       throw RecordTextException("unable to parse IP address, strange character: "+d_string.at(d_pos)); 
    113  
     111    else { 
     112      throw RecordTextException(string("unable to parse IP address, strange character: ")+d_string.at(d_pos)); 
     113    } 
    114114    d_pos++; 
    115115    if(d_pos == d_string.length())