summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-29 12:38:06 +0100
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-29 23:52:23 +0100
commit7f2697d30744d1f33cf67430aa48013b8f4ae9cd (patch)
tree5728b6ba9fce4205c834614e4dd340b8fcf41833
parent8c04c2be14fc053bd7b5ff03b8e4ba8cb5023700 (diff)
downloadirssi-7f2697d30744d1f33cf67430aa48013b8f4ae9cd.zip
Cosmetics.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
-rw-r--r--src/core/log.h2
-rw-r--r--src/core/rawlog.c2
2 files changed, 1 insertions, 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);