git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: Fix a missing return value
[ira/wip.git]
/
source3
/
torture
/
nbio.c
diff --git
a/source3/torture/nbio.c
b/source3/torture/nbio.c
index f4625ab6323e087e231b9542bc424d2d07db1e40..a51424526d6d9d2c441dfd4166ff43e127f4266f 100644
(file)
--- 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;