From 63029eb24b9a9b57fbf85b611a66b39b8100a5e3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 17 Nov 2010 20:54:41 +0100 Subject: s3: Fix a missing return value Autobuild-User: Volker Lendecke Autobuild-Date: Wed Nov 17 20:40:18 UTC 2010 on sn-devel-104 --- source3/torture/nbio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit