summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2020-01-22 09:28:32 +1100
committerDamien Miller <djm@mindrot.org>2020-01-22 09:28:32 +1100
commitb46a6325849e40aa2e4b0d962a6f00f708f6576a (patch)
treee4f8da57435a599cb4ba448763fef5ac8c6cf9ad /sshd.c
parent80d3bebcab96fe1d177e45906e10db16895da01d (diff)
downloadopenssh-git-b46a6325849e40aa2e4b0d962a6f00f708f6576a.tar.gz
remove accidental change in f8c11461
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sshd.c b/sshd.c
index ecec026b..0cf13a74 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1059,7 +1059,7 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
{
fd_set *fdset;
int i, j, ret, maxfd;
- int ostartups = -1, startups = 0, listening = 0, lameduck = 0;
+ int startups = 0, listening = 0, lameduck = 0;
int startup_p[2] = { -1 , -1 };
char c = 0;
struct sockaddr_storage from;
@@ -1084,11 +1084,6 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
* the daemon is killed with a signal.
*/
for (;;) {
- if (ostartups != startups) {
- setproctitle("[listener] %d/%d startups",
- startups, options.max_startups);
- ostartups = startups;
- }
if (received_sighup) {
if (!lameduck) {
debug("Received SIGHUP; waiting for children");