mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Trying to fix resume_handling for srvsvc_NetShareEnumAll.
Guenther
(This used to be commit 874a0ffd7d
)
This commit is contained in:
parent
45a3c8275f
commit
2a40d67041
@ -694,7 +694,11 @@ static WERROR init_srv_share_info_ctr(pipes_struct *p,
|
||||
|
||||
*total_entries = alloc_entries;
|
||||
if (resume_handle_p) {
|
||||
*resume_handle_p = num_entries;
|
||||
if (all_shares) {
|
||||
*resume_handle_p = (num_entries == 0) ? *resume_handle_p : 0;
|
||||
} else {
|
||||
*resume_handle_p = num_entries;
|
||||
}
|
||||
}
|
||||
|
||||
info_ctr->ctr = ctr;
|
||||
|
Loading…
Reference in New Issue
Block a user