From: Russell Bryant Date: Wed, 31 Jan 2007 17:39:28 +0000 (+0000) Subject: Only changed the paused status in an existing queue member if the paused X-Git-Tag: 1.4.1~173 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad254da05d1e6b8c0145424e544a3f31f71fd163;p=thirdparty%2Fasterisk.git 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 --- 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; } }