[svn-commits] rmudgett: trunk r378029 - /trunk/apps/app_queue.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Dec 14 14:22:40 CST 2012
Author: rmudgett
Date: Fri Dec 14 14:22:36 2012
New Revision: 378029
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=378029
Log:
app_queue: Make update_status() not return anything.
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=378029&r1=378028&r2=378029
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Dec 14 14:22:36 2012
@@ -1630,12 +1630,12 @@
* Lock interface list find sc, iterate through each queues queue_member list for member to
* 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;
if (q->maskmemberstatus) {
- return 0;
+ return;
}
/*** DOCUMENTATION
@@ -1707,8 +1707,6 @@
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
);
-
- return 0;
}
/*!
More information about the svn-commits
mailing list