chiark
/
gitweb
/
~bjharris
/
clunk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebdebbf
)
Remove a debugging printf.
author
Ben Harris
<bjh21@bjh21.me.uk>
Fri, 23 Nov 2018 23:59:14 +0000
(23:59 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 8 Dec 2018 22:30:09 +0000
(22:30 +0000)
clunk.c
patch
|
blob
|
history
diff --git
a/clunk.c
b/clunk.c
index faad118b0e5b09484a0ac5eacd51a372aa3c1db6..5a0ad119a63cca5c675fcfa195512416909971fa 100644
(file)
--- a/
clunk.c
+++ b/
clunk.c
@@
-248,7
+248,6
@@
need_adjust(struct tm const *now)
3600 * (now->tm_hour - displayed.tm_hour);
if (diff < 0) diff += 3600 * 12;
diff %= 3600 * 12;
- printf("diff = %ld\n", diff);
if (diff < 30 || diff >= maxadvance) return STOP;
if (diff < 60) return TICK;
return ADVANCE;