From 278194d2b87e2d2d18482e043a73cea4626ddc99 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 16 Oct 2020 07:49:35 -0700 Subject: time: indentation fix. * time.c (timegm_hack): Use two space indentation, not four. --- time.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/time.c b/time.c index fe1d431b..85b98d0a 100644 --- a/time.c +++ b/time.c @@ -341,24 +341,24 @@ val time_parse(val format, val string) static time_t timegm_hack(struct tm *tm) { - time_t ret; - char *tz; + time_t ret; + char *tz; - tz = getenv("TZ"); - setenv("TZ", "UTC", 1); + tz = getenv("TZ"); + setenv("TZ", "UTC", 1); #if HAVE_TZSET - tzset(); + tzset(); #endif - ret = mktime(tm); - if (tz) - setenv("TZ", tz, 1); - else - unsetenv("TZ"); + ret = mktime(tm); + if (tz) + setenv("TZ", tz, 1); + else + unsetenv("TZ"); #if HAVE_TZSET - tzset(); + tzset(); #endif - return ret; + return ret; } #endif -- cgit v1.2.3