[PATCH] set the correct timeout in select in
s3_event_loop_once()
Jeremy Allison
jra at samba.org
Tue Mar 3 19:18:21 GMT 2009
On Tue, Mar 03, 2009 at 06:35:48PM +0800, boyang wrote:
> Hi, everyone:
> I think we should set the correct timeout for select in
> s3_event_loop_once instead of just using 9999s. please correct me if I
> am wrong.
Sorry boyang, you're wrong :-). The call to event_add_to_select_args()
just before the select() calculates the correct timeout (note it takes
&to as a parameter).
Thanks for looking over the code though !
Jeremy.
More information about the samba-technical
mailing list