Don't let a user name in ftpd's proctitle

be mistaken for a status message.

PR:		misc/25217
MFC after:	7 days
This commit is contained in:
Yaroslav Tykhiy 2001-10-12 13:16:34 +00:00
parent 11342ab1d0
commit 7a29d7da50

View File

@ -1420,7 +1420,7 @@ pass(passwd)
#ifdef SETPROCTITLE
snprintf(proctitle, sizeof(proctitle),
"%s: %s", remotehost, pw->pw_name);
"%s: user/%s", remotehost, pw->pw_name);
setproctitle("%s", proctitle);
#endif /* SETPROCTITLE */
if (logging)