summaryrefslogtreecommitdiff
path: root/source4/libcli/wrepl/winsrepl.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-14 21:27:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:24 -0500
commitc0c55a8168b5231c3b7667a82c41709949375402 (patch)
tree05ece9a4616698f3e145fa54b2ab60e452ade414 /source4/libcli/wrepl/winsrepl.h
parent1d91ad0f73c8dc6c8a06c9bc2633516ac8b32e77 (diff)
downloadsamba-c0c55a8168b5231c3b7667a82c41709949375402.tar.gz
samba-c0c55a8168b5231c3b7667a82c41709949375402.tar.bz2
samba-c0c55a8168b5231c3b7667a82c41709949375402.zip
r12247: - reject freeing the wrepl_socket inside of wrepl_socket_dead()
- free it at the end of wrepl_socket_dead() if needed metze (This used to be commit 58285115c83a3b7bbc9bf52a105cebd11831e9d8)
Diffstat (limited to 'source4/libcli/wrepl/winsrepl.h')
-rw-r--r--source4/libcli/wrepl/winsrepl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/wrepl/winsrepl.h b/source4/libcli/wrepl/winsrepl.h
index 9bedfe7548..e679bef6e6 100644
--- a/source4/libcli/wrepl/winsrepl.h
+++ b/source4/libcli/wrepl/winsrepl.h
@@ -47,6 +47,9 @@ struct wrepl_socket {
/* remember is the socket is dead */
BOOL dead;
+
+ /* remember if we need to free the wrepl_socket at the end of wrepl_socket_dead() */
+ BOOL free_skipped;
};
struct wrepl_send_ctrl {