Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jonas Schäfer
biboumi
Commits
5b27cee9
Commit
5b27cee9
authored
Nov 27, 2017
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send \r\n at the end of the identd responses
fix
#3315
parent
b82d6620
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/identd/identd_socket.cpp
src/identd/identd_socket.cpp
+2
-2
No files found.
src/identd/identd_socket.cpp
View file @
5b27cee9
...
...
@@ -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
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment