summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-04-29 18:26:02 -0700
committerJeremy Allison <jra@samba.org>2009-04-29 18:26:02 -0700
commit370e7209dbafce147a5e9f283d9dcc53c72bce99 (patch)
tree28a832c3f7ef67d79940d1cbbc5bc604b766ddd7 /source3/client
parentedd25980b03c5fac154967e51705ac1cdb8d4091 (diff)
downloadsamba-370e7209dbafce147a5e9f283d9dcc53c72bce99.tar.gz
samba-370e7209dbafce147a5e9f283d9dcc53c72bce99.tar.bz2
samba-370e7209dbafce147a5e9f283d9dcc53c72bce99.zip
Make cli_unlink async.
Jeremy.
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 0271b456c3..7dda981800 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2115,7 +2115,7 @@ static void do_del(file_info *finfo, const char *dir)
return;
}
- if (!cli_unlink(finfo->cli, mask)) {
+ if (!NT_STATUS_IS_OK(cli_unlink(finfo->cli, mask, aSYSTEM | aHIDDEN))) {
d_printf("%s deleting remote file %s\n",
cli_errstr(finfo->cli),mask);
}
@@ -2191,7 +2191,7 @@ static int cmd_wdel(void)
return 1;
}
- if (!cli_unlink_full(targetcli, targetname, attribute)) {
+ if (!NT_STATUS_IS_OK(cli_unlink(targetcli, targetname, attribute))) {
d_printf("%s deleting remote files %s\n",cli_errstr(targetcli),targetname);
}
return 0;