The branch, master has been updated via 5a5e285be8caf98c7777a2afa717d04ac44c9f75 (commit) from 4d1d4d6e8eb40f21eea851461ea2166242b3409f (commit)
- Log ----------------------------------------------------------------- commit 5a5e285be8caf98c7777a2afa717d04ac44c9f75 Author: Nicholas Marriott <nicholas.marri...@gmail.com> Commit: Nicholas Marriott <nicholas.marri...@gmail.com> Don't try to print unterminated strings when loading configuration file. --- cfg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cfg.c b/cfg.c index 0476222..7acc08b 100644 --- a/cfg.c +++ b/cfg.c @@ -105,7 +105,7 @@ load_cfg(const char *path, struct cmd_ctx *ctx, struct causelist *causes) /* Trim \n. */ if (buf[len - 1] == '\n') len--; - log_debug ("%s: %s", path, buf); + log_debug("%s: %.*s", path, (int)len, buf); /* Current line is the continuation of the previous one. */ if (line != NULL) { ----------------------------------------------------------------------- Summary of changes: cfg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- tmux ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ tmux-cvs mailing list tmux-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-cvs