mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
remove accidental change in f8c11461
This commit is contained in:
parent
80d3bebcab
commit
b46a632584
7
sshd.c
7
sshd.c
@ -1059,7 +1059,7 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
|
|||||||
{
|
{
|
||||||
fd_set *fdset;
|
fd_set *fdset;
|
||||||
int i, j, ret, maxfd;
|
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 };
|
int startup_p[2] = { -1 , -1 };
|
||||||
char c = 0;
|
char c = 0;
|
||||||
struct sockaddr_storage from;
|
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.
|
* the daemon is killed with a signal.
|
||||||
*/
|
*/
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if (ostartups != startups) {
|
|
||||||
setproctitle("[listener] %d/%d startups",
|
|
||||||
startups, options.max_startups);
|
|
||||||
ostartups = startups;
|
|
||||||
}
|
|
||||||
if (received_sighup) {
|
if (received_sighup) {
|
||||||
if (!lameduck) {
|
if (!lameduck) {
|
||||||
debug("Received SIGHUP; waiting for children");
|
debug("Received SIGHUP; waiting for children");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user