Move the code to purge stale sessions to a function,
authorLuigi Rizzo <rizzo@icir.org>
Tue, 28 Nov 2006 11:20:39 +0000 (11:20 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 28 Nov 2006 11:20:39 +0000 (11:20 +0000)
commit0153bdd72cda80a8a157533964786a2aa34948e1
treea36784d5857499517803790b8d96a12d4c3f88e1
parent5ce08d37ca6b649085585d5f75f871df23f605d4
Move the code to purge stale sessions to a function,
to simplify the body of the main loop of the accepting thread.
Rename purge_unused() to purge_events() so one knows what the
function does.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c