summaryrefslogtreecommitdiffstats
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-04-28 16:43:16 -0700
committerJeremy Allison <jra@samba.org>2009-04-28 16:43:16 -0700
commitbd6447dcf26ec217f335784f05df304d45288850 (patch)
tree6e982a5746e120aa6e97d181e1c13916178d61c3 /source3/client
parent06e404f5743d1ccce0f4c51ca3ef97927f801a42 (diff)
downloadsamba-bd6447dcf26ec217f335784f05df304d45288850.tar.gz
samba-bd6447dcf26ec217f335784f05df304d45288850.tar.xz
samba-bd6447dcf26ec217f335784f05df304d45288850.zip
Convert cli_rename to async.
Jeremy.
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index d657bb98d28..4735e8cc7ad 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3300,7 +3300,7 @@ static int cmd_rename(void)
return 1;
}
- if (!cli_rename(targetcli, targetsrc, targetdest)) {
+ if (!NT_STATUS_IS_OK(cli_rename(targetcli, targetsrc, targetdest))) {
d_printf("%s renaming files %s -> %s \n",
cli_errstr(targetcli),
targetsrc,