1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3:param: move a variable into scope in lp_file_list_changed

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Jul 30 15:59:11 CEST 2014 on sn-devel-104
This commit is contained in:
Michael Adam 2014-07-26 01:30:17 +02:00 committed by Volker Lendecke
parent 86d68c9459
commit 27b0d9740e

View File

@ -2296,8 +2296,6 @@ bool lp_file_list_changed(void)
DEBUG(6, ("lp_file_list_changed()\n"));
while (f) {
time_t mod_time;
if (strequal(f->name, INCLUDE_REGISTRY_NAME)) {
struct smbconf_ctx *conf_ctx = lp_smbconf_ctx();
@ -2311,7 +2309,9 @@ bool lp_file_list_changed(void)
return true;
}
} else {
time_t mod_time;
char *n2 = NULL;
n2 = talloc_sub_basic(talloc_tos(),
get_current_username(),
current_user_info.domain,