[asterisk-commits] irroot: branch irroot/distrotech-customers-trunk r342539 - /team/irroot/distr...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Oct 26 01:55:52 CDT 2011
Author: irroot
Date: Wed Oct 26 01:55:48 2011
New Revision: 342539
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=342539
Log:
Simplify kill dead members call back
Modified:
team/irroot/distrotech-customers-trunk/apps/app_queue.c
Modified: team/irroot/distrotech-customers-trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-trunk/apps/app_queue.c?view=diff&rev=342539&r1=342538&r2=342539
==============================================================================
--- team/irroot/distrotech-customers-trunk/apps/app_queue.c (original)
+++ team/irroot/distrotech-customers-trunk/apps/app_queue.c Wed Oct 26 01:55:48 2011
@@ -7008,11 +7008,7 @@
{
struct member *member = obj;
- if (!member->delme) {
- return 0;
- } else {
- return CMP_MATCH;
- }
+ return (member->delme) ? CMP_MATCH : 0;
}
/*! \brief Reload information pertaining to a particular queue
More information about the asterisk-commits
mailing list