summaryrefslogtreecommitdiff
path: root/source3/torture/nbio.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-17 20:54:41 +0100
committerVolker Lendecke <vlendec@samba.org>2010-11-17 20:40:18 +0000
commit63029eb24b9a9b57fbf85b611a66b39b8100a5e3 (patch)
tree948b9ad246d99ffc9c3fa2f8bd42cf59dda7b72b /source3/torture/nbio.c
parent98612fe79321ade72c23ca0c1d966a1c192ec977 (diff)
downloadsamba-63029eb24b9a9b57fbf85b611a66b39b8100a5e3.tar.gz
samba-63029eb24b9a9b57fbf85b611a66b39b8100a5e3.tar.bz2
samba-63029eb24b9a9b57fbf85b611a66b39b8100a5e3.zip
s3: Fix a missing return value
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 17 20:40:18 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/torture/nbio.c')
-rw-r--r--source3/torture/nbio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/torture/nbio.c b/source3/torture/nbio.c
index f4625ab632..a51424526d 100644
--- a/source3/torture/nbio.c
+++ b/source3/torture/nbio.c
@@ -290,7 +290,9 @@ static NTSTATUS delete_fn(const char *mnt, struct file_info *finfo,
{
NTSTATUS status;
char *s, *n;
- if (finfo->name[0] == '.') return;
+ if (finfo->name[0] == '.') {
+ return NT_STATUS_OK;
+ }
n = SMB_STRDUP(name);
n[strlen(n)-1] = 0;