summaryrefslogtreecommitdiff
path: root/source3/torture/nbio.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-02-05 03:02:14 +0000
committerAndrew Tridgell <tridge@samba.org>2002-02-05 03:02:14 +0000
commit3608da565f0cedf2402498678305751320e113a6 (patch)
tree50acc72d477487d163ca64459aea1d1497d4f3db /source3/torture/nbio.c
parent7d9c3b7f75c107434a9ed70ea8dc514f8c819e65 (diff)
downloadsamba-3608da565f0cedf2402498678305751320e113a6.tar.gz
samba-3608da565f0cedf2402498678305751320e113a6.tar.bz2
samba-3608da565f0cedf2402498678305751320e113a6.zip
fixed the directory removal for when the dir doesn't exit
(This used to be commit 2c67b266cc4848dff6066fcbc875ab5f91113179)
Diffstat (limited to 'source3/torture/nbio.c')
-rw-r--r--source3/torture/nbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c
index 0785c4e196..3262fdab6a 100644
--- a/source3/torture/nbio.c
+++ b/source3/torture/nbio.c
@@ -280,7 +280,7 @@ void nb_deltree(char *dname)
cli_list(c, mask, aDIR, delete_fn, NULL);
free(mask);
- nb_rmdir(dname);
+ cli_rmdir(c, dname);
if (total_deleted) printf("WARNING: Cleaned up %d files\n", total_deleted);
}