diff options
author | Jeremy Allison <jra@samba.org> | 2009-04-28 13:18:51 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-04-28 13:18:51 -0700 |
commit | 06e404f5743d1ccce0f4c51ca3ef97927f801a42 (patch) | |
tree | 6110ac31bde76bc2132208d3ec687a1d03a7abcc /source3/client | |
parent | d47669684dd072b796ebfeb630342456346f449f (diff) | |
download | samba-06e404f5743d1ccce0f4c51ca3ef97927f801a42.tar.gz samba-06e404f5743d1ccce0f4c51ca3ef97927f801a42.tar.bz2 samba-06e404f5743d1ccce0f4c51ca3ef97927f801a42.zip |
Convert cli_posix_unlink() and cli_posix_rmdir()
to async. First trans calls I've done.
Jeremy.
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 68d96a9dcc..d657bb98d2 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2401,7 +2401,7 @@ static int cmd_posix_unlink(void) return 1; } - if (!cli_posix_unlink(targetcli, targetname)) { + if (!NT_STATUS_IS_OK(cli_posix_unlink(targetcli, targetname))) { d_printf("Failed to unlink file %s. %s\n", targetname, cli_errstr(cli)); } else { d_printf("posix_unlink deleted file %s\n", targetname); @@ -2435,7 +2435,7 @@ static int cmd_posix_rmdir(void) return 1; } - if (!cli_posix_rmdir(targetcli, targetname)) { + if (!NT_STATUS_IS_OK(cli_posix_rmdir(targetcli, targetname))) { d_printf("Failed to unlink directory %s. %s\n", targetname, cli_errstr(cli)); } else { d_printf("posix_rmdir deleted directory %s\n", targetname); |