From e5ad52490276dfec03a7a439c33384a442565a0d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 3 Jul 2011 11:27:53 +0200 Subject: s3: Remove two uses of cli_errstr Autobuild-User: Volker Lendecke Autobuild-Date: Sun Jul 3 12:43:32 CEST 2011 on sn-devel-104 --- source3/libsmb/clirap2.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'source3/libsmb/clirap2.c') diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c index 03b4ca7541..1d36ca65ca 100644 --- a/source3/libsmb/clirap2.c +++ b/source3/libsmb/clirap2.c @@ -1533,8 +1533,10 @@ bool cli_get_pdc_name(struct cli_state *cli, const char *workgroup, char **pdc_n TALLOC_FREE(frame); } } else { - DEBUG(4,("cli_get_pdc_name: machine %s failed the NetServerEnum call. " - "Error was : %s.\n", cli->desthost, cli_errstr(cli) )); + DEBUG(4, ("cli_get_pdc_name: machine %s failed the " + "NetServerEnum call. Error was : %s.\n", + cli->desthost, + win_errstr(W_ERROR(cli->rap_error)))); } } @@ -1830,8 +1832,10 @@ bool cli_ns_check_server_type(struct cli_state *cli, char *workgroup, uint32 sty } } } else { - DEBUG(4,("cli_ns_check_server_type: machine %s failed the NetServerEnum call. " - "Error was : %s.\n", cli->desthost, cli_errstr(cli) )); + DEBUG(4, ("cli_ns_check_server_type: machine %s " + "failed the NetServerEnum call. Error was : " + "%s.\n", cli->desthost, + win_errstr(W_ERROR(cli->rap_error)))); } } -- cgit