mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Merged revisions 378029 via svnmerge from
file:///srv/subversion/repos/asterisk/trunk ........ r378029 | rmudgett | 2012-12-14 14:22:36 -0600 (Fri, 14 Dec 2012) | 1 line app_queue: Make update_status() not return anything. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@378031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1630,12 +1630,12 @@ struct statechange {
|
|||||||
* Lock interface list find sc, iterate through each queues queue_member list for member to
|
* Lock interface list find sc, iterate through each queues queue_member list for member to
|
||||||
* update state inside queues
|
* update state inside queues
|
||||||
*/
|
*/
|
||||||
static int update_status(struct call_queue *q, struct member *m, const int status)
|
static void update_status(struct call_queue *q, struct member *m, const int status)
|
||||||
{
|
{
|
||||||
m->status = status;
|
m->status = status;
|
||||||
|
|
||||||
if (q->maskmemberstatus) {
|
if (q->maskmemberstatus) {
|
||||||
return 0;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** DOCUMENTATION
|
/*** DOCUMENTATION
|
||||||
@@ -1707,8 +1707,6 @@ static int update_status(struct call_queue *q, struct member *m, const int statu
|
|||||||
q->name, m->interface, m->membername, m->state_interface, m->dynamic ? "dynamic" : m->realtime ? "realtime" : "static",
|
q->name, m->interface, m->membername, m->state_interface, m->dynamic ? "dynamic" : m->realtime ? "realtime" : "static",
|
||||||
m->penalty, m->calls, (int)m->lastcall, m->status, m->paused
|
m->penalty, m->calls, (int)m->lastcall, m->status, m->paused
|
||||||
);
|
);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Reference in New Issue
Block a user