git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db44caf
)
Fix wildcard unlink.
author
Jeremy Allison
<jra@samba.org>
Sat, 3 Apr 2004 00:17:18 +0000
(
00:17
+0000)
committer
Jeremy Allison
<jra@samba.org>
Sat, 3 Apr 2004 00:17:18 +0000
(
00:17
+0000)
Jeremy.
(This used to be commit
6e9b4c57ccb385acb9feaf9f7412778474231a92
)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 7498821185ac701536903b3f01124a3cea458096..42167c6e81cf171dd7c0b9a956fd4f0a17503834 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-1575,13
+1575,14
@@
NTSTATUS unlink_internals(connection_struct *conn, int dirtype, char *name)
if (sys_direntry) {
error = NT_STATUS_OBJECT_NAME_INVALID;
-
continue
;
+
break
;
}
slprintf(fname,sizeof(fname)-1, "%s/%s",directory,dname);
error = can_delete(fname,conn,dirtype,bad_path);
- if (!NT_STATUS_IS_OK(error))
+ if (!NT_STATUS_IS_OK(error))
{
continue;
+ }
if (SMB_VFS_UNLINK(conn,fname) == 0)
count++;
DEBUG(3,("unlink_internals: succesful unlink [%s]\n",fname));