From d2b1671fb362d9e747b0c4f398ab41848cfdb921 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 3 Jul 2011 10:38:30 +0200 Subject: s3: Remove a use of cli_errstr All code above that might have failed sets result --- source3/auth/auth_domain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index c18a81ab57..7eb020d8a6 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -234,8 +234,9 @@ machine %s. Error was : %s.\n", dc_name, nt_errstr(result))); } if(!netlogon_pipe) { - DEBUG(0,("connect_to_domain_password_server: unable to open the domain client session to \ -machine %s. Error was : %s.\n", dc_name, cli_errstr(*cli))); + DEBUG(0, ("connect_to_domain_password_server: unable to open " + "the domain client session to machine %s. Error " + "was : %s.\n", dc_name, nt_errstr(result))); cli_shutdown(*cli); *cli = NULL; TALLOC_FREE(mutex); -- cgit