Fix log file cycling
authorPekka Riikonen <priikone@silcnet.org>
Thu, 15 May 2014 18:25:46 +0000 (21:25 +0300)
committerPekka Riikonen <priikone@silcnet.org>
Thu, 15 May 2014 18:25:46 +0000 (21:25 +0300)
commit1d76faba26d4ac45fb3b17d6e4257d3c461b4a2b
treec5703cfa9ec992b14e2436cacaf3e0b5b76fa3d6
parent3e424c7e535b8cbddf8b9c48ef134047d56cebf6
Fix log file cycling

If log file cycling doesn't have permission to create a new log file
it will end up closing the log file for good and stop logging.  Fix
this by checking if permission to cycle the log file exists and disable
the feature if it doesn't.
lib/silcutil/silclog.c