From d67e614a07cbf143293436d380aba9a022c0e31b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 16 May 2013 16:11:54 +0200 Subject: lib: Add before/after hooks to async_connect This will facilitiate [un]become_root for smbd to connect safely to ctdbd. Signed-off-by: Volker Lendecke Reviewed-by: Christian Ambach --- source3/libsmb/unexpected.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c index f537b3d0a7..2c01bb7515 100644 --- a/source3/libsmb/unexpected.c +++ b/source3/libsmb/unexpected.c @@ -514,7 +514,7 @@ struct tevent_req *nb_packet_reader_send(TALLOC_CTX *mem_ctx, subreq = async_connect_send(state, ev, state->reader->sock, (struct sockaddr *)(void *)&state->addr, - sizeof(state->addr)); + sizeof(state->addr), NULL, NULL, NULL); if (tevent_req_nomem(subreq, req)) { return tevent_req_post(req, ev); } -- cgit