debug: factor out logfile size check
authorRalph Boehme <slow@samba.org>
Wed, 12 Dec 2018 11:45:11 +0000 (12:45 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 20 Dec 2018 02:19:26 +0000 (03:19 +0100)
commit7369674787d91c40f8eff7bc71f6d73dab341315
tree640eb3582f1281ced2939c6e6de1c3e01a733b4c
parent4341f24069f991dc7119093e418aac392e0a1b50
debug: factor out logfile size check

The new function will also be used for upcoming per-debug-class logfiles.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/debug.c