Skip to content
Snippets Groups Projects
Commit 28c52f45 authored by rswindell's avatar rswindell
Browse files

Trim white-space off end of logged password attempt.

parent 4ba39056
No related branches found
No related tags found
No related merge requests found
......@@ -264,7 +264,7 @@ bool sbbs_t::answer()
}
else {
if(cfg.sys_misc&SM_ECHO_PW)
lprintf(LOG_INFO,"Node %d SSH: UNKNOWN USER: '%s' (password: %s)",cfg.node_num,rlogin_name, tmp);
lprintf(LOG_INFO,"Node %d SSH: UNKNOWN USER: '%s' (password: %s)",cfg.node_num,rlogin_name, truncsp(tmp));
else
lprintf(LOG_INFO,"Node %d SSH: UNKNOWN USER: '%s'",cfg.node_num,rlogin_name);
badlogin(rlogin_name, tmp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment