mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
libsmbconf: return success and count 0 from get_includes when no includes present.
Michael
(This used to be commit 182433be5b
)
This commit is contained in:
parent
87ca447231
commit
30fedf2855
@ -399,6 +399,9 @@ static WERROR smbconf_reg_get_includes_internal(TALLOC_CTX *mem_ctx,
|
||||
|
||||
if (!smbconf_value_exists(key, INCLUDES_VALNAME)) {
|
||||
/* no includes */
|
||||
*num_includes = 0;
|
||||
*includes = NULL;
|
||||
werr = WERR_OK;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user