home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b13fa
)
Use braces in elses which follow multi-statement ifs
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 15 Mar 2020 06:26:12 +0000
(
02:26
-0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 15 Mar 2020 06:26:12 +0000
(
02:26
-0400)
x5/khatus.c
patch
|
blob
|
blame
|
history
diff --git
a/x5/khatus.c
b/x5/khatus.c
index
ee96d60
..
db800ea
100644
(file)
--- a/
x5/khatus.c
+++ b/
x5/khatus.c
@@
-325,9
+325,10
@@
fifo_read_one(Fifo *f, char *buf, Config *cfg)
if (current == -1) {
error("Failed to read: \"%s\". Error: %s\n", f->name, strerror(errno));
fifo_read_error(f, buf);
- } else
+ } else
{
while (total++ < f->width)
*b++ = ' ';
+ }
/* TODO Record timestamp read */
close(f->fd);
f->fd = -1;
@@
-506,8
+507,9
@@
main(int argc, char *argv[])
timespecsub(&ti, &td, &tc);
debug("snooze YES\n");
snooze(&tc, cfg);
- } else
+ } else
{
debug("snooze NO\n");
+ }
}
return EXIT_SUCCESS;
This page took
0.027359 seconds
and
4
git commands to generate.