]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Only changed the paused status in an existing queue member if the paused
authorRussell Bryant <russell@russellbryant.com>
Wed, 31 Jan 2007 17:39:28 +0000 (17:39 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 31 Jan 2007 17:39:28 +0000 (17:39 +0000)
column exists.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53037 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index c3eb022f66f9fa5965af308db955431a5425d4bb..5442e24c7f749b96de2dc7e8118c4cc1d553205b 100644 (file)
@@ -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;
        }
 }