summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-06 15:07:05 -0700
committerJeremy Allison <jra@samba.org>2009-05-06 15:07:05 -0700
commit512879a69b6e94c323c37a6c0e56824c097b7f70 (patch)
tree4673c7f00ae7cb4675f4355b4ed3fbe11145b977 /source3/utils
parent78754ab2c9b28ea8ab09d3fd1f5450abe721a2c1 (diff)
downloadsamba-512879a69b6e94c323c37a6c0e56824c097b7f70.tar.gz
samba-512879a69b6e94c323c37a6c0e56824c097b7f70.tar.bz2
samba-512879a69b6e94c323c37a6c0e56824c097b7f70.zip
Make cli_setattrE async.
Jeremy.
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 10fd4157b7..b01c5af1dd 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -221,7 +221,7 @@ NTSTATUS net_copy_fileattr(struct net_context *c,
if (copy_timestamps) {
/* set timestamps */
- if (!cli_setattrE(cli_share_dst, fnum_dst, f_ctime, f_atime, f_mtime)) {
+ if (!NT_STATUS_IS_OK(cli_setattrE(cli_share_dst, fnum_dst, f_ctime, f_atime, f_mtime))) {
DEBUG(0,("failed to set file-attrs (timestamps): %s\n",
cli_errstr(cli_share_dst)));
nt_status = cli_nt_error(cli_share_dst);