summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-07-03 11:27:53 +0200
committerVolker Lendecke <vlendec@samba.org>2011-07-03 12:43:32 +0200
commite5ad52490276dfec03a7a439c33384a442565a0d (patch)
tree7c48387df487708a4f7cdec0ef5b57f4aaa4be89 /source3/libsmb
parentc3a6e9b7cea4f48bcb5a9de1fad26e3da3b53f7c (diff)
downloadsamba-e5ad52490276dfec03a7a439c33384a442565a0d.tar.gz
samba-e5ad52490276dfec03a7a439c33384a442565a0d.tar.bz2
samba-e5ad52490276dfec03a7a439c33384a442565a0d.zip
s3: Remove two uses of cli_errstr
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 12:43:32 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap2.c12
1 files changed, 8 insertions, 4 deletions
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))));
}
}