From e258e7d251b7403a6d77b23e6927b659bf9c2c37 Mon Sep 17 00:00:00 2001 From: Ivan Tkachenko Date: Thu, 15 Nov 2018 10:59:09 +0900 Subject: 43823: remove unnecessary metafy() in stattimeprint() --- Src/Modules/stat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Src/Modules') diff --git a/Src/Modules/stat.c b/Src/Modules/stat.c index 50a6a9bb2..7c736072b 100644 --- a/Src/Modules/stat.c +++ b/Src/Modules/stat.c @@ -198,10 +198,8 @@ stattimeprint(time_t tim, long nsecs, char *outbuf, int flags) if (flags & STF_STRING) { char *oend = outbuf + strlen(outbuf); /* Where the heck does "40" come from? */ - int len = ztrftime(oend, 40, timefmt, (flags & STF_GMT) ? gmtime(&tim) : + ztrftime(oend, 40, timefmt, (flags & STF_GMT) ? gmtime(&tim) : localtime(&tim), nsecs); - if (len > 0) - metafy(oend, len, META_NOALLOC); if (flags & STF_RAW) strcat(oend, ")"); } -- cgit 1.4.1