From f62bde93ce911445c0f3cb952d17d271a6536385 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 26 Jul 2010 09:27:11 +0200 Subject: s3: Convert cli_qpathinfo2 to cli_qpathinfo_send --- source3/client/client.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source3/client/client.c') 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; } -- cgit