[asterisk-addons-commits] mnicholson: trunk r840 - /trunk/channels/chan_mobile.c
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Mon Apr 6 10:39:33 CDT 2009
Author: mnicholson
Date: Mon Apr 6 10:39:29 2009
New Revision: 840
URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=840
Log:
use AST_LIST_FIRST instead of accessing the list structure directly
Modified:
trunk/channels/chan_mobile.c
Modified: trunk/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/trunk/channels/chan_mobile.c?view=diff&rev=840&r1=839&r2=840
==============================================================================
--- trunk/channels/chan_mobile.c (original)
+++ trunk/channels/chan_mobile.c Mon Apr 6 10:39:29 2009
@@ -2798,7 +2798,7 @@
*/
static struct msg_queue_entry *msg_queue_head(struct mbl_pvt *pvt)
{
- return pvt->msg_queue.first;
+ return AST_LIST_FIRST(&pvt->msg_queue);
}
More information about the asterisk-addons-commits
mailing list