From 7f2697d30744d1f33cf67430aa48013b8f4ae9cd Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Sat, 29 Jul 2017 12:38:06 +0100 Subject: [PATCH] Cosmetics. Signed-off-by: Edward Tomasz Napierala --- src/core/log.h | 2 -- src/core/rawlog.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/log.h b/src/core/log.h index 52660bb9..5a07859b 100644 --- a/src/core/log.h +++ b/src/core/log.h @@ -38,8 +38,6 @@ extern GSList *logs; extern int log_file_create_mode; extern int log_dir_create_mode; -extern int log_dir_create_mode; - /* Create log record - you still need to call log_update() to actually add it into log list */ LOG_REC *log_create_rec(const char *fname, int level); diff --git a/src/core/rawlog.c b/src/core/rawlog.c index 8f674e6b..a95b9a92 100644 --- a/src/core/rawlog.c +++ b/src/core/rawlog.c @@ -156,7 +156,7 @@ void rawlog_save(RAWLOG_REC *rawlog, const char *fname) int f; dir = g_path_get_dirname(fname); - capsicum_mkdir_with_parents_wrapper(dir, log_dir_create_mode); + capsicum_mkdir_with_parents_wrapper(dir, log_dir_create_mode); g_free(dir); path = convert_home(fname);