summaryrefslogtreecommitdiff
path: root/source3/include/event.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-12-22 14:52:50 -0800
committerJeremy Allison <jra@samba.org>2010-12-23 01:08:11 +0100
commit30d29e64cb5e0f1360ff47dd6d074d25fa86e5fd (patch)
tree3c3d56a56b041ea869c4e750b59641e9f3495059 /source3/include/event.h
parent03b8b8e19952c40eb3eb22e16e7fbae4073b7b4b (diff)
downloadsamba-30d29e64cb5e0f1360ff47dd6d074d25fa86e5fd.tar.gz
samba-30d29e64cb5e0f1360ff47dd6d074d25fa86e5fd.tar.bz2
samba-30d29e64cb5e0f1360ff47dd6d074d25fa86e5fd.zip
All calls to event_add_to_select_args() call GetTimeOfDay() and
pass this in as the &now parameter. Push this call inside of event_add_to_select_args() to the correct point so it doesn't get called unless needed. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 23 01:08:11 CET 2010 on sn-devel-104
Diffstat (limited to 'source3/include/event.h')
-rw-r--r--source3/include/event.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/include/event.h b/source3/include/event.h
index 6b41b1d81b..101a967c47 100644
--- a/source3/include/event.h
+++ b/source3/include/event.h
@@ -27,7 +27,6 @@
/* The following definitions come from lib/events.c */
bool event_add_to_select_args(struct event_context *event_ctx,
- const struct timeval *now,
fd_set *read_fds, fd_set *write_fds,
struct timeval *timeout, int *maxfd);
bool run_events(struct event_context *event_ctx,