Commit 5b27cee9 authored by louiz’'s avatar louiz’

Send \r\n at the end of the identd responses

fix #3315
parent b82d6620
......@@ -50,14 +50,14 @@ std::string IdentdSocket::generate_answer(const BiboumiComponent& biboumi, uint1
if (pair.second->match_port_pairt(local, remote))
{
std::ostringstream os;
os << local << " , " << remote << " : USERID : OTHER : " << hash_jid(bridge->get_bare_jid());
os << local << " , " << remote << " : USERID : OTHER : " << hash_jid(bridge->get_bare_jid()) << "\r\n";
log_debug("Identd, sending: ", os.str());
return os.str();
}
}
}
std::ostringstream os;
os << local << " , " << remote << " ERROR : NO-USER";
os << local << " , " << remote << " ERROR : NO-USER" << "\r\n";
log_debug("Identd, sending: ", os.str());
return os.str();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment