summaryrefslogtreecommitdiff
path: root/source/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-04-14 03:55:42 +0000
committerJeremy Allison <jra@samba.org>2006-04-14 03:55:42 +0000
commit56ceeaa27e0ebc50c071f715db2e20863757c7e3 (patch)
treecf21fbda8fd51e32018dfca607a8b5620babc251 /source/nsswitch
parentbdb16ea77808ebca1ff1543c4e857b1fd99ad8b5 (diff)
downloadsamba-56ceeaa27e0ebc50c071f715db2e20863757c7e3.tar.gz
r15084: Try and squeeze more out of the non-read/write code path.
Jeremy.
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/winbindd_dual.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_dual.c b/source/nsswitch/winbindd_dual.c
index d978a6adf79..c5d24f98c1b 100644
--- a/source/nsswitch/winbindd_dual.c
+++ b/source/nsswitch/winbindd_dual.c
@@ -684,9 +684,10 @@ static BOOL fork_domain_child(struct winbindd_child *child)
GetTimeOfDay(&now);
- tp = get_timed_events_timeout(&t, (time_t)-1);
+ tp = get_timed_events_timeout(&t);
if (tp) {
- DEBUG(11,("select will use timeout of %d seconds\n", (int)tp->tv_sec));
+ DEBUG(11,("select will use timeout of %u.%u seconds\n",
+ (unsigned int)tp->tv_sec, (unsigned int)tp->tv_usec ));
}
/* Handle messages */