From 2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 26 Jul 2010 10:35:15 +0200 Subject: s3: Convert cli_qpathinfo_streams to cli_qpathinfo_send --- source3/client/client.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index efe733e7f4..cd41699da3 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1598,10 +1598,11 @@ static int do_allinfo(const char *name) d_printf("attributes: %s\n", attr_str(talloc_tos(), mode)); - if (!cli_qpathinfo_streams(cli, name, talloc_tos(), &num_streams, - &streams)) { - d_printf("%s getting streams for %s\n", - cli_errstr(cli),name); + status = cli_qpathinfo_streams(cli, name, talloc_tos(), &num_streams, + &streams); + if (!NT_STATUS_IS_OK(status)) { + d_printf("%s getting streams for %s\n", nt_errstr(status), + name); return false; } -- cgit