From 84de81b4786bed411199f2785a1eafc7c86db478 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Oct 2009 15:19:19 +0200 Subject: s3: Remove a scary error message -- talloc_move can not fail :-) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/rpc_client/cli_pipe.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/rpc_client/cli_pipe.c') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 34b8616907..dc4dfbd3b2 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -3940,11 +3940,6 @@ NTSTATUS cli_rpc_pipe_open_schannel_with_key(struct cli_state *cli, * in - reference them in */ result->dc = talloc_move(result, pdc); - if (result->dc == NULL) { - DEBUG(0, ("talloc reference failed\n")); - TALLOC_FREE(result); - return NT_STATUS_NO_MEMORY; - } DEBUG(10,("cli_rpc_pipe_open_schannel_with_key: opened pipe %s to machine %s " "for domain %s and bound using schannel.\n", -- cgit From ebe0e64ba9815b238cccf7d24821bc473d245707 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 13 Oct 2009 10:15:34 +0200 Subject: s3: use enum netr_SchannelType all over the place. Guenther --- source3/rpc_client/cli_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_client/cli_pipe.c') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index dc4dfbd3b2..c197bd4929 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -3819,7 +3819,7 @@ static NTSTATUS get_schannel_session_key_common(struct rpc_pipe_client *netlogon const char *domain, uint32 *pneg_flags) { - uint32 sec_chan_type = 0; + enum netr_SchannelType sec_chan_type = 0; unsigned char machine_pwd[16]; const char *machine_account; NTSTATUS status; -- cgit