]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_agent: Misc code cleanup.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 3 Jan 2013 18:44:08 +0000 (18:44 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 3 Jan 2013 18:44:08 +0000 (18:44 +0000)
commitce8d64cd9907f5d337c77b9994896debf092124e
treee9ffb6c0a036e651f71575628ada914750d61bdb
parentbba3c7a1f2ee063d4f2ebdcee33c1dcd014025f3
chan_agent: Misc code cleanup.

* Fix off-nominal path resource cleanup in agent_request().

* Create agent_pvt_destroy() to eliminate inlined versions in many places.

* Pull invariant code out of loop in add_agent().

* Remove redundant module user references in login_exec().

* Remove unused struct agent_pvt logincallerid[] member.

* Remove some redundant code in agent_request().
........

Merged revisions 378456 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@378457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_agent.c