1
0
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:
Michael Adam 2008-04-09 22:22:20 +02:00
parent 87ca447231
commit 30fedf2855

View File

@ -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;
}