Don't close file descriptor until after calling event_del().
authorneilbrown <neilbrown>
Sun, 26 Mar 2006 23:51:21 +0000 (23:51 +0000)
committerneilbrown <neilbrown>
Sun, 26 Mar 2006 23:51:21 +0000 (23:51 +0000)
commit356c26cc3b8b653618638654d2037719a11d95b6
tree507dbaf8a3bbf5593142795313274b9871e90bf2
parent7fa72fa86d16767fcd0c23f21199c943ae7a26ce
Don't close file descriptor until after calling event_del().

Delete event processing for a file descriptor before closing it.
This was causing hangs when used in combination with libevent-1.0b.
ChangeLog
utils/idmapd/idmapd.c