mirror of
http://galexander.org/git/simplesshd.git
synced 2024-11-27 09:48:08 +00:00
remove debug output
This commit is contained in:
parent
71dcbc392b
commit
1cbe9b1456
@ -195,9 +195,7 @@ static void main_noinetd() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr,"server select in\n");
|
|
||||||
val = select(maxsock+1, &fds, NULL, NULL, NULL);
|
val = select(maxsock+1, &fds, NULL, NULL, NULL);
|
||||||
fprintf(stderr,"server select out (%d)\n", (int)val);
|
|
||||||
|
|
||||||
if (ses.exitflag) {
|
if (ses.exitflag) {
|
||||||
unlink(svr_opts.pidfile);
|
unlink(svr_opts.pidfile);
|
||||||
@ -349,9 +347,7 @@ static void sigchld_handler(int UNUSED(unused)) {
|
|||||||
|
|
||||||
const int saved_errno = errno;
|
const int saved_errno = errno;
|
||||||
|
|
||||||
fprintf(stderr,"sigchld\n");
|
|
||||||
while(waitpid(-1, NULL, WNOHANG) > 0) {}
|
while(waitpid(-1, NULL, WNOHANG) > 0) {}
|
||||||
fprintf(stderr,"sigchld return from waitpid\n");
|
|
||||||
|
|
||||||
sa_chld.sa_handler = sigchld_handler;
|
sa_chld.sa_handler = sigchld_handler;
|
||||||
sa_chld.sa_flags = SA_NOCLDSTOP;
|
sa_chld.sa_flags = SA_NOCLDSTOP;
|
||||||
|
Loading…
Reference in New Issue
Block a user