summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-26 10:35:15 +0200
committerVolker Lendecke <vl@samba.org>2010-07-26 23:01:38 +0200
commit2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac (patch)
tree4aa534270efe780fe93470c9f17f105acacc2150 /source3/client
parent27fb920ee8caade141cf0fd39e75afac7f4b5d0b (diff)
downloadsamba-2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac.tar.gz
samba-2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac.tar.bz2
samba-2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac.zip
s3: Convert cli_qpathinfo_streams to cli_qpathinfo_send
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c9
1 files changed, 5 insertions, 4 deletions
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;
}