vector<DNSResourceRecord> ret;
- string query = "recursor-" +PACKAGEVERSION+ ".security-status."+::arg()["security-poll-suffix"];
+ string query = "recursor-" +string(PACKAGEVERSION)+ ".security-status."+::arg()["security-poll-suffix"];
if(*query.rbegin()!='.')
query+='.';
*last_secpoll=now.tv_sec;
}
else {
- L<<Logger::Warning<<"Could not retrieve security status update for '" +PACKAGEVERSION+ "' on '"+query+"', RCODE = "<< RCode::to_s(res)<<endl;
+ L<<Logger::Warning<<"Could not retrieve security status update for '" +string(PACKAGEVERSION)+ "' on '"+query+"', RCODE = "<< RCode::to_s(res)<<endl;
if(g_security_status == 1) // it was ok, not it is unknown
g_security_status = 0;
if(res == RCode::NXDomain) // if we had servfail, keep on trying more more frequently