swrap: Improve dup to add the dup'd fd after the source fd
authorMichael Adam <obnox@samba.org>
Tue, 16 Aug 2016 09:03:27 +0000 (11:03 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 20 Oct 2016 08:50:29 +0000 (10:50 +0200)
commitebe5f15854866c225febe73c952356873b958305
treeaa26eebe51bde11ea5c2e70dff1cc467f3b81844
parent97d23728cfc392fe5f2c33831f4c85aa31d083fc
swrap: Improve dup to add the dup'd fd after the source fd

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/socket_wrapper.c