git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
335b1c6
)
r4067: no matches in findnext is not an error
author
Andrew Tridgell
<tridge@samba.org>
Sun, 5 Dec 2004 07:58:58 +0000
(07:58 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:06:22 +0000
(13:06 -0500)
source/ntvfs/posix/pvfs_search.c
patch
|
blob
|
history
diff --git
a/source/ntvfs/posix/pvfs_search.c
b/source/ntvfs/posix/pvfs_search.c
index f805f201f60456b25f854fa649a14bbc02fca61f..4ee81503c0a991c7412b1544792b8a5558450bb2 100644
(file)
--- a/
source/ntvfs/posix/pvfs_search.c
+++ b/
source/ntvfs/posix/pvfs_search.c
@@
-552,11
+552,6
@@
NTSTATUS pvfs_search_next(struct ntvfs_module_context *ntvfs,
return status;
}
- /* not matching any entries is an error */
- if (reply_count == 0) {
- return NT_STATUS_NO_MORE_ENTRIES;
- }
-
io->t2fnext.out.count = reply_count;
io->t2fnext.out.end_of_search = pvfs_list_eos(dir, search->current_index) ? 1 : 0;