summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-31 08:18:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:25 -0500
commit58d6c73e946d11574a6220f37887e1cdfe05f525 (patch)
tree6d26d4ee20261610328bee5f513f7df1171dfa8e /source4/libcli/raw
parent26bf3063d3250aba60ba458efd131e5a24006363 (diff)
downloadsamba-58d6c73e946d11574a6220f37887e1cdfe05f525.tar.gz
samba-58d6c73e946d11574a6220f37887e1cdfe05f525.tar.bz2
samba-58d6c73e946d11574a6220f37887e1cdfe05f525.zip
r5123: fixed a bug in the timed events handling. It was possible for a timed
event handler to trigger a free that could cause a timer to be triggered twice. This changs fixes it properly by marking timer events to be removed using a zero next_event time. I also changed the default timeout for events.c to be infinite, so if there are no events to handle then smbd will sit forever doing nothing. That allows it to be swapped out completely when idle. (This used to be commit 0f1fb7017ee441cbebcad45900435adb57ca1760)
Diffstat (limited to 'source4/libcli/raw')
0 files changed, 0 insertions, 0 deletions