Merged revisions 53037 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 31 Jan 2007 17:39:55 +0000 (17:39 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 31 Jan 2007 17:39:55 +0000 (17:39 +0000)
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

apps/app_queue.c

index c8a9dc6..7d153c1 100644 (file)
@@ -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;
        }
 }