Too many open files
Russ Allbery
rra at stanford.edu
Sun Dec 11 21:22:40 UTC 2005
Jeffrey M Vinocur <jeff at litech.org> writes:
> Yeah, I guess I should read the logs more closely...
> Russ, want to commit this to innd/rc.c, please?
> if (ident_fd < 0) {
> syslog(L_ERROR, "can't open socket for identd (%m)");
> return false;
> }
> if (bind(ident_fd,s_local,SA_LEN(s_local)) < 0) {
> syslog(L_ERROR, "can't bind socket for identd (%m)");
> + close(ident_fd);
> return false;
> }
> if (connect(ident_fd,s_distant,SA_LEN(s_distant)) < 0) {
> syslog(L_ERROR, "can't connect to identd (%m)");
> + close(ident_fd);
> return false;
> }
Thanks, done.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list