]> arthur.barton.de Git - ngircd-alex.git/commit
Only close "unrelated" sockets in forked child processes
authorAlexander Barton <alex@barton.de>
Wed, 7 Sep 2011 12:51:16 +0000 (14:51 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 7 Sep 2011 12:51:16 +0000 (14:51 +0200)
commit30796698a9fca0037ea48f70ceafac1e783d06fb
tree2c8eecd6ae905840fc54588351ad5f47ef7c0fbb
parentf173a974bee5181d8131519ed07b3b5261bf6366
Only close "unrelated" sockets in forked child processes

This fixes the problem that ngIRCd can't do any IDENT lookups because
of the socket has already been closed in the child process.

The bug has been introduced starting with ngIRCd 17 ... :-(
(commit ID 6ebb31ab35e)
src/ngircd/conn.c
src/ngircd/conn.h
src/ngircd/irc-login.c
src/ngircd/proc.c
src/ngircd/resolve.c