diff options
author | Jeremy Allison <jra@samba.org> | 2006-04-14 03:55:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:22 -0500 |
commit | cc203f3e59840b75fbb42a53d36b717a57268c2f (patch) | |
tree | 84756b715fb89cd96d83951f348e47c085a7013e /source3/nsswitch | |
parent | 713eaf1d67d9ef967fb4526113e2a3ba3dd5e229 (diff) | |
download | samba-cc203f3e59840b75fbb42a53d36b717a57268c2f.tar.gz samba-cc203f3e59840b75fbb42a53d36b717a57268c2f.tar.bz2 samba-cc203f3e59840b75fbb42a53d36b717a57268c2f.zip |
r15084: Try and squeeze more out of the non-read/write code path.
Jeremy.
(This used to be commit 23dcff4d50d1d35b7ddee0d0cb79c16a312f179c)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_dual.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index d978a6adf7..c5d24f98c1 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/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 */ |