[asterisk-commits] rmudgett: trunk r368674 - /trunk/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 7 15:37:08 CDT 2012
Author: rmudgett
Date: Thu Jun 7 15:37:05 2012
New Revision: 368674
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=368674
Log:
Fix inverted test in app_queue for ringinuse.
Regression from -r367080 ringinuse commit.
(issue ASTERISK-19536)
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=368674&r1=368673&r2=368674
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Jun 7 15:37:05 2012
@@ -3300,7 +3300,7 @@
return 0;
}
- if (tmp->member->ringinuse) {
+ if (!tmp->member->ringinuse) {
if (check_state_unknown && (tmp->member->status == AST_DEVICE_UNKNOWN)) {
newstate = ast_device_state(tmp->member->interface);
if (newstate != tmp->member->status) {
@@ -5857,7 +5857,7 @@
/*!
* \internal
* \brief Sets members penalty, if queuename=NULL we set member penalty in all the queues.
- * \param[in] queuename If specified, only act on a mem`ber if it belongs to this queue
+ * \param[in] queuename If specified, only act on a member if it belongs to this queue
* \param[in] interface Interface of queue member(s) having priority set.
* \param[in] property Which queue property is being set
* \param[in] penalty Value penalty is being changed to for each member
More information about the asterisk-commits
mailing list