commit | 2e47cab715669bd0c89762217cbf77bd70cd82ac | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Sep 27 23:12:45 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Sep 27 23:12:45 2019 +0200 |
tree | 6335ef959011ee001155fe6e04a2337147a8cd75 | |
parent | 7b666c7883c905a0e1428b8bfa7ba062af2656e7 [diff] [blame] |
patch 8.1.2090: not clear why channel log file ends Problem: Not clear why channel log file ends. Solution: Add a "closing" line.
diff --git a/src/channel.c b/src/channel.c index e42c957..0ac9718 100644 --- a/src/channel.c +++ b/src/channel.c
@@ -141,7 +141,13 @@ FILE *file = NULL; if (log_fd != NULL) + { + if (*fname != NUL) + ch_log(NULL, "closing, opening %s", fname); + else + ch_log(NULL, "closing"); fclose(log_fd); + } if (*fname != NUL) {