diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-31 17:39:28 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-31 17:39:28 +0000 |
commit | 647f596ef2cd64a511dac9fe1804ab3121f5a178 (patch) | |
tree | bbae61d7a08fbe01c31f7f8ece8ac823ad534278 /apps | |
parent | 57f12952c1b2d47aefba22aeddd196408ba12de6 (diff) |
Only changed the paused status in an existing queue member if the paused
column exists.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53037 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 c3eb022f6..5442e24c7 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -957,7 +957,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; } } |