diff options
author | Jeremy Allison <jra@samba.org> | 2009-04-28 16:43:16 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-04-28 16:43:16 -0700 |
commit | bd6447dcf26ec217f335784f05df304d45288850 (patch) | |
tree | 6e982a5746e120aa6e97d181e1c13916178d61c3 /source3/torture/nbio.c | |
parent | 06e404f5743d1ccce0f4c51ca3ef97927f801a42 (diff) | |
download | samba-bd6447dcf26ec217f335784f05df304d45288850.tar.gz samba-bd6447dcf26ec217f335784f05df304d45288850.tar.bz2 samba-bd6447dcf26ec217f335784f05df304d45288850.zip |
Convert cli_rename to async.
Jeremy.
Diffstat (limited to 'source3/torture/nbio.c')
-rw-r--r-- | source3/torture/nbio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c index 998adac4e0..7503e59357 100644 --- a/source3/torture/nbio.c +++ b/source3/torture/nbio.c @@ -229,7 +229,7 @@ void nb_rmdir(const char *fname) void nb_rename(const char *oldname, const char *newname) { - if (!cli_rename(c, oldname, newname)) { + if (!NT_STATUS_IS_OK(cli_rename(c, oldname, newname))) { printf("ERROR: rename %s %s failed (%s)\n", oldname, newname, cli_errstr(c)); exit(1); |