diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-05-24 07:35:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:33 -0500 |
commit | 92acfc07998da1546182579ad12a063f025c9286 (patch) | |
tree | 73bbb0b6863908aee6d015b47b5b91649e3d5c67 /source4/wrepl_server | |
parent | 971d30bb201f5c3faff5f575d26882eb79f7955a (diff) | |
download | samba-92acfc07998da1546182579ad12a063f025c9286.tar.gz samba-92acfc07998da1546182579ad12a063f025c9286.tar.bz2 samba-92acfc07998da1546182579ad12a063f025c9286.zip |
r15855: more talloc_set_destructor() typesafe fixes. nearly done ...
(This used to be commit 396d82a231b6e3a91178db08b706626d4d4b420c)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r-- | source4/wrepl_server/wrepl_in_connection.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/wrepl_server/wrepl_in_connection.c b/source4/wrepl_server/wrepl_in_connection.c index dabb550048..fc44b8912c 100644 --- a/source4/wrepl_server/wrepl_in_connection.c +++ b/source4/wrepl_server/wrepl_in_connection.c @@ -38,9 +38,8 @@ void wreplsrv_terminate_in_connection(struct wreplsrv_in_connection *wreplconn, stream_terminate_connection(wreplconn->conn, reason); } -static int terminate_after_send_destructor(void *ptr) +static int terminate_after_send_destructor(struct wreplsrv_in_connection **tas) { - struct wreplsrv_in_connection **tas = talloc_get_type(ptr, struct wreplsrv_in_connection *); wreplsrv_terminate_in_connection(*tas, "wreplsrv_in_connection: terminate_after_send"); return 0; } |