summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2010-09-08 20:43:38 +0000
committerJason Parker <jparker@digium.com>2010-09-08 20:43:38 +0000
commitef247c398fa2f5e85ed909b32fe36aa80d94fa66 (patch)
tree4e8ac47c071258c1fcae51d95016a7c1c742eb24 /res
parentd077b0f081817909a8ec16292cfa83a6e4ada258 (diff)
Merged revisions 285530 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r285530 | qwell | 2010-09-08 15:43:10 -0500 (Wed, 08 Sep 2010) | 9 lines 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. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@285531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r--res/res_musiconhold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index a54becc4b..e4ea16479 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -1120,7 +1120,7 @@ static void moh_rescan_files(void) {
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);
}