s3-client: Remove use of cli_errstr()
authorBjörn Baumbach <bb@sernet.de>
Thu, 7 Jul 2011 15:36:22 +0000 (17:36 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 7 Jul 2011 17:16:28 +0000 (19:16 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/client/client.c

index aa26d99efff696e3e577ea8983e736735e9fab04..82dc8c40dd83df15cef55aa020fb26fd028c41ca 100644 (file)
@@ -917,8 +917,8 @@ NTSTATUS do_list(const char *mask,
                        }
                        TALLOC_FREE(targetpath);
                } else {
-                       d_printf("do_list: [%s] %s\n", mask, cli_errstr(cli));
-                       ret_status = cli_nt_error(cli);
+                       d_printf("do_list: [%s] %s\n", mask, nt_errstr(status));
+                       ret_status = status;
                }
        }