From 5b27cee97272d4ae6ff30f03dc57221fa3e3183f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Mon, 27 Nov 2017 00:48:40 +0100 Subject: Send \r\n at the end of the identd responses fix #3315 --- src/identd/identd_socket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/identd/identd_socket.cpp b/src/identd/identd_socket.cpp index b85257c..92cd80b 100644 --- a/src/identd/identd_socket.cpp +++ b/src/identd/identd_socket.cpp @@ -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(); } -- cgit v1.2.3