Remove log_debug2 as well and simplify log.c.

This commit is contained in:
Nicholas Marriott
2014-03-07 16:05:29 +00:00
parent c5a30513ed
commit b1a87b2ee4
4 changed files with 26 additions and 62 deletions

2
tmux.c
View File

@ -73,7 +73,7 @@ logfile(const char *name)
if (debug_level > 0) {
xasprintf(&path, "tmux-%s-%ld.log", name, (long) getpid());
log_open(debug_level, path);
log_open(path);
free(path);
}
}