diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-09 15:50:21 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-09 15:50:21 +0200 |
commit | 795ffc5e62e8ba383575dbcd9943a580d4bd3358 (patch) | |
tree | c128889056202b255e2f22afeb7717894d350862 /src/iopause.c | |
parent | 5fadc0cbb8577c61d66bd6f19ceaf0507c11e23b (diff) |
formatting changes
Manual format adjustments.
Comment adjustments.
Remove usage of the register keyword.
Diffstat (limited to 'src/iopause.c')
-rw-r--r-- | src/iopause.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/iopause.c b/src/iopause.c index 0baad2a..9c160ac 100644 --- a/src/iopause.c +++ b/src/iopause.c @@ -6,10 +6,10 @@ #include "taia.h" /** - @file iopause.c - @author djb - @source qmail - @brief stateful reading from net + @file iopause.c + @author djb + @source qmail + @brief stateful reading from net @return > 0 if successful */ @@ -20,9 +20,9 @@ int iopause(iopause_fd *x, unsigned int len, struct taia *deadline, struct taia double d; int i, r; - if (taia_less(deadline, stamp)) + if (taia_less(deadline, stamp)) { millisecs = 0; - else { + } else { t = *stamp; taia_sub(&t, deadline, &t); d = taia_approx(&t); |