summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-05 16:28:44 -0700
committerJeremy Allison <jra@samba.org>2009-05-05 16:28:44 -0700
commite091fdc5658e65be290ebb3b62a1bdf517781a65 (patch)
tree1687ed661275a297b3a87d589039f3729302cdc6 /source3/utils
parentd52172654cf248b5b772c34383c176c73438d9d2 (diff)
downloadsamba-e091fdc5658e65be290ebb3b62a1bdf517781a65.tar.gz
samba-e091fdc5658e65be290ebb3b62a1bdf517781a65.tar.bz2
samba-e091fdc5658e65be290ebb3b62a1bdf517781a65.zip
Make cli_getattrE async.
Jeremy.
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_printer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 39b5e81bd6..10fd4157b7 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -198,8 +198,8 @@ NTSTATUS net_copy_fileattr(struct net_context *c,
if (copy_attrs || copy_timestamps) {
/* get file attributes */
- if (!cli_getattrE(cli_share_src, fnum_src, &attr, NULL,
- &f_ctime, &f_atime, &f_mtime)) {
+ if (!NT_STATUS_IS_OK(cli_getattrE(cli_share_src, fnum_src, &attr, NULL,
+ &f_ctime, &f_atime, &f_mtime))) {
DEBUG(0,("failed to get file-attrs: %s\n",
cli_errstr(cli_share_src)));
nt_status = cli_nt_error(cli_share_src);