diff options
author | LemonBoy <thatlemon@gmail.com> | 2016-02-13 13:12:29 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2016-06-05 16:24:55 +0200 |
commit | bb190be0bfac956ada4f74a514ff70f28b114efa (patch) | |
tree | 5abd9b45a6a65e0f0ed02e1885a4c2b671367718 /src/fe-common/core | |
parent | 1a6ec1b0b63c4ffbaf22137157a6fae3570b6839 (diff) | |
download | irssi-bb190be0bfac956ada4f74a514ff70f28b114efa.zip |
Replace mkpath with g_mkdir_with_parents
Diffstat (limited to 'src/fe-common/core')
-rw-r--r-- | src/fe-common/core/fe-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c index f2c4c014..5bc5c4e1 100644 --- a/src/fe-common/core/fe-log.c +++ b/src/fe-common/core/fe-log.c @@ -453,7 +453,7 @@ static void autolog_open(SERVER_REC *server, const char *server_tag, log_item_add(log, LOG_ITEM_TARGET, target, server_tag); dir = g_path_get_dirname(log->real_fname); - mkpath(dir, log_dir_create_mode); + g_mkdir_with_parents(dir, log_dir_create_mode); g_free(dir); log->temp = TRUE; |