[svn-commits] qwell: branch 1.8 r285530 - in /branches/1.8: ./ include/asterisk/ res/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Sep 8 15:43:14 CDT 2010


Author: qwell
Date: Wed Sep  8 15:43:10 2010
New Revision: 285530

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=285530
Log:
Merged revisions 285529 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r285529 | qwell | 2010-09-08 15:42:44 -0500 (Wed, 08 Sep 2010) | 1 line
  
  Follow coding guidelines in moh rescan fix.  Also fix the documentation that got me in trouble.
........

Modified:
    branches/1.8/   (props changed)
    branches/1.8/include/asterisk/astobj2.h
    branches/1.8/res/res_musiconhold.c

Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.

Modified: branches/1.8/include/asterisk/astobj2.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/include/asterisk/astobj2.h?view=diff&rev=285530&r1=285529&r2=285530
==============================================================================
--- branches/1.8/include/asterisk/astobj2.h (original)
+++ branches/1.8/include/asterisk/astobj2.h Wed Sep  8 15:43:10 2010
@@ -583,7 +583,7 @@
 
 	    i = ao2_iterator_init(c, flags);
 
-	    while ( (o = ao2_iterator_next(&i)) ) {
+	    while ((o = ao2_iterator_next(&i))) {
 		... do something on o ...
 		ao2_ref(o, -1);
 	    }
@@ -1002,7 +1002,7 @@
  *
  *  i = ao2_iterator_init(c, flags);
  *
- *  while ( (o = ao2_iterator_next(&i)) ) {
+ *  while ((o = ao2_iterator_next(&i))) {
  *     ... do something on o ...
  *     ao2_ref(o, -1);
  *  }

Modified: branches/1.8/res/res_musiconhold.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_musiconhold.c?view=diff&rev=285530&r1=285529&r2=285530
==============================================================================
--- branches/1.8/res/res_musiconhold.c (original)
+++ branches/1.8/res/res_musiconhold.c Wed Sep  8 15:43:10 2010
@@ -1120,7 +1120,7 @@
 
 	i = ao2_iterator_init(mohclasses, 0);
 
-	while ( (c = ao2_iterator_next(&i)) ) {
+	while ((c = ao2_iterator_next(&i))) {
 		moh_scan_files(c);
 		ao2_ref(c, -1);
 	}




More information about the svn-commits mailing list