summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 1568e3abf5..9f47f14be5 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1425,10 +1425,10 @@ BOOL lp_file_list_changed(void)
mod_time = file_modtime(n2);
- if (f->modtime != mod_time)
- {
- DEBUG(6,("file %s modified: %s\n", n2, ctime(&mod_time)));
- return(True);
+ if (f->modtime != mod_time) {
+ DEBUG(6,("file %s modified: %s\n", n2, ctime(&mod_time)));
+ f->modtime = mod_time;
+ return(True);
}
f = f->next;
}