client: use cli_qpathinfo3 for allinfo
authorGregor Beck <gbeck@sernet.de>
Mon, 14 Oct 2013 09:44:36 +0000 (11:44 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 30 Oct 2013 22:23:51 +0000 (15:23 -0700)
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/client/client.c

index 6e1c870..2ed47c4 100644 (file)
@@ -1721,7 +1721,7 @@ static int do_allinfo(const char *name)
        }
        d_printf("altname: %s\n", altname);
 
-       status = cli_qpathinfo2(cli, name, &b_time, &a_time, &m_time, &c_time,
+       status = cli_qpathinfo3(cli, name, &b_time, &a_time, &m_time, &c_time,
                                &size, &mode, NULL);
        if (!NT_STATUS_IS_OK(status)) {
                d_printf("%s getting pathinfo for %s\n", nt_errstr(status),
@@ -1799,7 +1799,7 @@ static int do_allinfo(const char *name)
                d_printf("%s\n", snapshots[i]);
                snap_name = talloc_asprintf(talloc_tos(), "%s%s",
                                            snapshots[i], name);
-               status = cli_qpathinfo2(cli, snap_name, &b_time, &a_time,
+               status = cli_qpathinfo3(cli, snap_name, &b_time, &a_time,
                                        &m_time, &c_time, &size,
                                        NULL, NULL);
                if (!NT_STATUS_IS_OK(status)) {