From 367b4e4e0f1d78589398cddb609b33be870af30c Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 16 May 2020 15:47:22 +0000 Subject: Change message log to be per server rather than per client and include every command that is run. --- format.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'format.c') diff --git a/format.c b/format.c index 3b9af626..9f01588d 100644 --- a/format.c +++ b/format.c @@ -46,8 +46,6 @@ static void format_job_timer(int, short, void *); static char *format_find(struct format_tree *, const char *, int); static void format_add_cb(struct format_tree *, const char *, format_cb); -static void format_add_tv(struct format_tree *, const char *, - struct timeval *); static int format_replace(struct format_tree *, const char *, size_t, char **, size_t *, size_t *); static void format_defaults_session(struct format_tree *, @@ -1260,7 +1258,7 @@ format_add(struct format_tree *ft, const char *key, const char *fmt, ...) } /* Add a key and time. */ -static void +void format_add_tv(struct format_tree *ft, const char *key, struct timeval *tv) { struct format_entry *fe, *fe_now; -- cgit