Skip to content
Snippets Groups Projects
Commit 4866a445 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Merged revisions 49831 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49831 | tilghman | 2007-01-07 15:24:04 -0600 (Sun, 07 Jan 2007) | 2 lines

Second condition was a subset of the first, so hold was never decremented, thus hint stayed stuck (Issue 8747)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 3c1b9fc5
No related branches found
No related tags found
No related merge requests found
...@@ -8177,7 +8177,7 @@ static void sip_peer_hold(struct sip_pvt *p, int hold) ...@@ -8177,7 +8177,7 @@ static void sip_peer_hold(struct sip_pvt *p, int hold)
/* If they put someone on hold, increment the value... otherwise decrement it */ /* If they put someone on hold, increment the value... otherwise decrement it */
if (hold) if (hold)
peer->onHold++; peer->onHold++;
else if (hold > 0) else
peer->onHold--; peer->onHold--;
   
/* Request device state update */ /* Request device state update */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment