diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-12-19 00:58:18 +0100 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-04-26 12:38:48 +0200 |
commit | a3d19f71a205d31ce141dcfd8880f7ed13bd65e5 (patch) | |
tree | da2cbedff9645553ec4b2ea20c1d509ef4f46d49 /src/nxt_time_parse.c | |
parent | bce0f432c402ad18718aecab227b663160682ea4 (diff) | |
download | unit-a3d19f71a205d31ce141dcfd8880f7ed13bd65e5.tar.gz unit-a3d19f71a205d31ce141dcfd8880f7ed13bd65e5.tar.bz2 |
Fixed indentation.
Some lines (incorrectly) had an indentation of 3 or 5, or 7 or 9,
or 11 or 13, or 15 or 17 spaces instead of 4, 8, 12, or 16. Fix them.
Found with:
$ find src -type f | xargs grep -n '^ [^ ]';
$ find src -type f | xargs grep -n '^ [^ *]';
$ find src -type f | xargs grep -n '^ [^ ]';
$ find src -type f | xargs grep -n '^ [^ *]';
$ find src -type f | xargs grep -n '^ [^ +]';
$ find src -type f | xargs grep -n '^ [^ *+]';
$ find src -type f | xargs grep -n '^ [^ +]';
$ find src -type f | xargs grep -n '^ [^ *+]';
Diffstat (limited to 'src/nxt_time_parse.c')
-rw-r--r-- | src/nxt_time_parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_time_parse.c b/src/nxt_time_parse.c index 5a32b213..94c43289 100644 --- a/src/nxt_time_parse.c +++ b/src/nxt_time_parse.c @@ -282,9 +282,9 @@ nxt_time_parse(const u_char *p, size_t len) days = days - 719527 + 31 + 28; s = (uint64_t) days * 86400 - + (nxt_uint_t) hour * 3600 - + (nxt_uint_t) min * 60 - + (nxt_uint_t) sec; + + (nxt_uint_t) hour * 3600 + + (nxt_uint_t) min * 60 + + (nxt_uint_t) sec; #if (NXT_TIME_T_SIZE <= 4) |