debug: factor out a function that opens and closes the new and old logfile
commit240b08c414c375c16ad0b1524202f1337b7e9e6d
authorRalph Boehme <slow@samba.org>
Wed, 12 Dec 2018 11:35:42 +0000 (12 12:35 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 20 Dec 2018 02:19:26 +0000 (20 03:19 +0100)
tree28e18046182d27238088e5e7b6ebdac62314f734
parente6655f0887313a9ad99406a89a66c6950ba970bb
debug: factor out a function that opens and closes the new and old logfile

The new function reopen_one_log() will also be used for per-class
logfiles in subsequent commmits.

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