* Improve how we clean up after ourselves during exit.

This commit is contained in:
Justin Maggard
2012-11-16 07:40:40 +00:00
parent 035fd35ffd
commit aee83a3ee6
4 changed files with 34 additions and 38 deletions

7
log.c
View File

@ -56,6 +56,13 @@ char *level_name[] = {
0
};
void
log_close(void)
{
if (log_fp)
fclose(log_fp);
}
int
log_init(const char *fname, const char *debug)
{