s4:wrepl_server: use SOCKET_FLAG_NOCLOSE instead of a dup()
commitd6c48b4a5fb667b0fba91af5d9113209ae72eede
authorStefan Metzmacher <metze@samba.org>
Tue, 28 Sep 2010 00:33:23 +0000 (28 02:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 28 Sep 2010 01:48:10 +0000 (28 03:48 +0200)
tree238d94c69873b6e8241b9efad1abc5c0600e2665
parent9d8b886b3e631e073b12c559948f53bdbba87339
s4:wrepl_server: use SOCKET_FLAG_NOCLOSE instead of a dup()

The key thing is that we might have to turn the incomming
connection into a outgoing connection.

This change makes sense anyway, because we donate the fd to
tstream.

metze
source4/wrepl_server/wrepl_in_connection.c