From ad254da05d1e6b8c0145424e544a3f31f71fd163 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 31 Jan 2007 17:39:28 +0000 Subject: [PATCH] Only changed the paused status in an existing queue member if the paused column exists. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53037 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index c3eb022f66..5442e24c7f 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; } }