1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

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
This commit is contained in:
Volker Lendecke 2010-11-17 20:54:41 +01:00 committed by Volker Lendecke
parent 98612fe793
commit 63029eb24b

View File

@ -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;