diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-01-31 17:39:55 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-01-31 17:39:55 +0000 |
commit | 26a33b2ffc07eb940a63c4666e62fd4f73b38b5a (patch) | |
tree | 9ee2d62e8510927b2d3fe9e6d49162c8deafd64a | |
parent | 59b382021e6bd0311e7ea8a271d9485b4465cb62 (diff) |
Merged revisions 53037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53037 | russell | 2007-01-31 11:39:28 -0600 (Wed, 31 Jan 2007) | 3 lines
Only changed the paused status in an existing queue member if the paused
column exists.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | apps/app_queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index c8a9dc666..7d153c1b8 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -992,7 +992,8 @@ static void rt_handle_member_record(struct call_queue *q, char *interface, const } } else { m->dead = 0; /* Do not delete this one. */ - m->paused = paused; + if (paused_str) + m->paused = paused; m->penalty = penalty; } } |