s3:unix_msg: close the fds in unix_dgram_recv_handler() after the callback has run
authorMichael Adam <obnox@samba.org>
Wed, 24 Sep 2014 22:28:48 +0000 (00:28 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 30 Sep 2014 14:36:10 +0000 (16:36 +0200)
commit0ab5e895f7869ea07624c666cc620576a7fde289
treed47119ab30d93a854e2f23934963c8bb8d6f2c38
parent6e47886b154ed89182a56233d55c650885432907
s3:unix_msg: close the fds in unix_dgram_recv_handler() after the callback has run

If the caller wants to use passed fds, he should copy them away
and set them to -1.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/unix_msg/unix_msg.c