From d5bd2e40f0ae4c52d10ec9b3bf9ec1dc98e89706 Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Thu, 31 Dec 2015 12:27:14 -0500 Subject: [PATCH] Default to 500 messages (we care about them) --- options-table.c | 4 ++++ tmate-msg.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/options-table.c b/options-table.c index e67d23d7..9bb141b1 100644 --- a/options-table.c +++ b/options-table.c @@ -102,7 +102,11 @@ const struct options_table_entry options_table[] = { .scope = OPTIONS_TABLE_SERVER, .minimum = 0, .maximum = INT_MAX, +#ifdef TMATE + .default_num = 500 +#else .default_num = 100 +#endif }, { .name = "quiet", diff --git a/tmate-msg.c b/tmate-msg.c index f2566895..53d24ee8 100644 --- a/tmate-msg.c +++ b/tmate-msg.c @@ -66,7 +66,7 @@ void __tmate_status_message(const char *fmt, va_list ap) free(message); } -void printflike(1, 2) tmate_status_message(const char *fmt, ...) +void tmate_status_message(const char *fmt, ...) { va_list ap;