projects
/
project
/
mdnsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7e3bc
)
Add debug output for service_timeout
author
Philipp Meier
<philipp.meier@neratec.com>
Thu, 28 Sep 2017 07:09:39 +0000
(09:09 +0200)
committer
John Crispin
<john@phrozen.org>
Thu, 28 Sep 2017 07:26:16 +0000
(09:26 +0200)
Signed-off-by: Philipp Meier <philipp.meier@neratec.com>
service.c
patch
|
blob
|
history
diff --git
a/service.c
b/service.c
index 0a9e25dbf77d356b528587ac355a67a0fc98a2db..97b6f911121c2cd2b22334a4705e66f5a23d723c 100644
(file)
--- a/
service.c
+++ b/
service.c
@@
-121,8
+121,10
@@
service_timeout(struct service *s)
{
time_t t = monotonic_time();
- if (t - s->t <= TOUT_LOOKUP)
+ if (t - s->t <= TOUT_LOOKUP) {
+ DBG(2, "t=%lu, s->t=%lu, t - s->t = %lu\n", t, s->t, t - s->t);
return 0;
+ }
return t;
}