From 7f1fd07fbe99fc167eb529d482b084142c39ea8a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 21 Mar 2011 16:14:19 +0100 Subject: [PATCH] s3-epmapper: Log error if we can't register the endpoint. Autobuild-User: Simo Sorce Autobuild-Date: Wed Mar 23 18:06:54 CET 2011 on sn-devel-104 --- source3/rpc_server/rpc_ep_setup.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/rpc_server/rpc_ep_setup.c b/source3/rpc_server/rpc_ep_setup.c index 4680d6a41b7..9bed63d8239 100644 --- a/source3/rpc_server/rpc_ep_setup.c +++ b/source3/rpc_server/rpc_ep_setup.c @@ -232,8 +232,9 @@ static void rpc_ep_setup_register_loop(struct tevent_req *subreq) state->wait_time = state->wait_time * 2; if (state->wait_time > 16) { - talloc_free(state); - return; + DEBUG(0, ("Failed to register endpoint '%s'!\n", + state->iface->name)); + state->wait_time = 16; } subreq = tevent_wakeup_send(state->mem_ctx, -- 2.11.4.GIT