1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Trying to fix resume_handling for srvsvc_NetShareEnumAll.

Guenther
(This used to be commit 874a0ffd7d)
This commit is contained in:
Günther Deschner 2008-03-11 11:30:55 +01:00
parent 45a3c8275f
commit 2a40d67041

View File

@ -694,8 +694,12 @@ static WERROR init_srv_share_info_ctr(pipes_struct *p,
*total_entries = alloc_entries;
if (resume_handle_p) {
if (all_shares) {
*resume_handle_p = (num_entries == 0) ? *resume_handle_p : 0;
} else {
*resume_handle_p = num_entries;
}
}
info_ctr->ctr = ctr;