summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-26 09:27:11 +0200
committerVolker Lendecke <vl@samba.org>2010-07-26 23:01:37 +0200
commitf62bde93ce911445c0f3cb952d17d271a6536385 (patch)
treeb701581a3a5f898539c71ee1ab24115052279084 /source3/client
parent9a2d08bd3c10b8632c1497cfac3f91bcccbed8a7 (diff)
downloadsamba-f62bde93ce911445c0f3cb952d17d271a6536385.tar.gz
samba-f62bde93ce911445c0f3cb952d17d271a6536385.tar.bz2
samba-f62bde93ce911445c0f3cb952d17d271a6536385.zip
s3: Convert cli_qpathinfo2 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 b88f180855..efe733e7f4 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1576,10 +1576,11 @@ static int do_allinfo(const char *name)
}
d_printf("altname: %s\n", altname);
- if (!cli_qpathinfo2(cli, name, &b_time, &a_time, &m_time, &c_time,
- &size, &mode, &ino)) {
- d_printf("%s getting pathinfo for %s\n",
- cli_errstr(cli),name);
+ status = cli_qpathinfo2(cli, name, &b_time, &a_time, &m_time, &c_time,
+ &size, &mode, &ino);
+ if (!NT_STATUS_IS_OK(status)) {
+ d_printf("%s getting pathinfo for %s\n", nt_errstr(status),
+ name);
return false;
}