summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-02-28 22:39:26 +0000
committerRussell Bryant <russell@russellbryant.com>2008-02-28 22:39:26 +0000
commit7da06e6cb8b22d296062ab38cb2763cd7c1b5f41 (patch)
tree897a726d01e6359400224e1db3450880fcfe68ab /funcs
parentf0379886c5ba872b3fe082fcde00067f6b9748dc (diff)
Merged revisions 105116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r105116 | russell | 2008-02-28 16:23:05 -0600 (Thu, 28 Feb 2008) | 8 lines Fix a bug in the lock tracking code that was discovered by mmichelson. The issue is that if the lock history array was full, then the functions to mark a lock as acquired or not would adjust the stats for whatever lock is at the end of the array, which may not be itself. So, do a sanity check to make sure that we're updating lock info for the proper lock. (This explains the bizarre stats on lock #63 in BE-396, thanks Mark!) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
0 files changed, 0 insertions, 0 deletions