Re: [PATCH] MINOR: skip get_gmtime where tm is unused

2019-04-11 Thread Willy Tarreau
Hello Robin, On Wed, Apr 10, 2019 at 09:08:15PM +, Robin H. Johnson wrote: > For LOG_FMT_TS (%Ts), the tm variable is not used, so save some cycles > on the call to get_gmtime. Very good catch, thank you! Willy

[PATCH] MINOR: skip get_gmtime where tm is unused

2019-04-10 Thread Robin H. Johnson
For LOG_FMT_TS (%Ts), the tm variable is not used, so save some cycles on the call to get_gmtime. Backport: 1.9 1.8 Signed-off-by: Robin H. Johnson --- src/log.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/log.c b/src/log.c index f8d3414e2..39e472b33 100644 --- a/src/log.c +++