summaryrefslogtreecommitdiff
path: root/src/tai.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tai.c')
-rw-r--r--src/tai.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tai.c b/src/tai.c
index 50bb2fe..0079cf1 100644
--- a/src/tai.c
+++ b/src/tai.c
@@ -5,7 +5,7 @@
/**
@file tai.c
@author djb
- @source qmail
+ @ref qmail
@brief 'temps atomic' time handling
*/
@@ -52,13 +52,13 @@ void tai_unpack(const char *s, struct tai *t)
x = (unsigned char)s[0];
// clang-format off
- x <<= 8; x += (unsigned char) s[1];
- x <<= 8; x += (unsigned char) s[2];
- x <<= 8; x += (unsigned char) s[3];
- x <<= 8; x += (unsigned char) s[4];
- x <<= 8; x += (unsigned char) s[5];
- x <<= 8; x += (unsigned char) s[6];
- x <<= 8; x += (unsigned char) s[7];
+ x <<= 8; x += (unsigned char)s[1];
+ x <<= 8; x += (unsigned char)s[2];
+ x <<= 8; x += (unsigned char)s[3];
+ x <<= 8; x += (unsigned char)s[4];
+ x <<= 8; x += (unsigned char)s[5];
+ x <<= 8; x += (unsigned char)s[6];
+ x <<= 8; x += (unsigned char)s[7];
// clang-format on
t->x = x;
}