summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:07:54 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:04 +0100
commitc4f9adf9dd83265358f8f086add883d63890c68f (patch)
tree1994d35e4ae050e37bc27d680224b272c1c780ed /source3/lib
parent77fb5e19d8a09b3f649ecaeed16118e4229bdedc (diff)
downloadsamba-c4f9adf9dd83265358f8f086add883d63890c68f.tar.gz
samba-c4f9adf9dd83265358f8f086add883d63890c68f.tar.bz2
samba-c4f9adf9dd83265358f8f086add883d63890c68f.zip
s3: "check_log_size" only looks at the size
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index 1986d6cfca..80b8310ab2 100644
--- a/source3/lib/debug.c
+++ b/source3/lib/debug.c
@@ -746,8 +746,7 @@ void check_log_size( void )
maxlog = lp_max_log_size() * 1024;
- if(sys_fstat(x_fileno(dbf), &st,
- lp_fake_dir_create_times()) == 0
+ if(sys_fstat(x_fileno(dbf), &st, false) == 0
&& st.st_ex_size > maxlog ) {
(void)reopen_logs();
if( dbf && get_file_size( debugf ) > maxlog ) {