diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-10-16 07:49:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-10-16 07:49:35 -0700 |
commit | f3ee4f61732af483ee5746e6a7102697cd2161c0 (patch) | |
tree | b5c06f016daca8414e1c673495c512833f0a1059 /time.c | |
parent | b25204fce729d4973f2c9c707c06abed7759a959 (diff) | |
download | txr-f3ee4f61732af483ee5746e6a7102697cd2161c0.tar.gz txr-f3ee4f61732af483ee5746e6a7102697cd2161c0.tar.bz2 txr-f3ee4f61732af483ee5746e6a7102697cd2161c0.zip |
time: indentation fix.
* time.c (timegm_hack): Use two space indentation, not four.
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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 |