Set errno=ENOMEM if tevent_add_fd fails
commitac65ae9b1d0bba2420847dae48f5b07ed072b030
authorVolker Lendecke <vl@samba.org>
Tue, 19 May 2009 21:48:41 +0000 (19 23:48 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 19 May 2009 21:51:22 +0000 (19 23:51 +0200)
tree935715b4aba6d3605581b4bd9c803543d6ff9913
parentf8da7f5d744a87b3b7504ec4c509f52c0b4cbe44
Set errno=ENOMEM if tevent_add_fd fails

tevent_add_fd does not properly set that. At least in epoll and select this is
the only error condition.

Metze, please check!
lib/tsocket/tsocket_bsd.c