summaryrefslogtreecommitdiff
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authorDaniel Journo <dan@keshercommunications.com>2017-03-08 20:29:16 +0000
committerRichard Mudgett <rmudgett@digium.com>2017-03-09 10:36:35 -0600
commitb14724adb3ec6a5b2e09061618f49d7b0a205335 (patch)
tree47b0d856c5eb1687b40ec2da01e133db66a0cee4 /res/res_musiconhold.c
parentff0569740a4f8c6135344131a11cc6ff49ea5fcf (diff)
res_musiconhold: moh general section is a class and issues warning
* res_musiconhold.c: Ensure the general section is not treated as a moh class. ASTERISK-26353 #close Change-Id: Ia3dbd11ea2b43ab3e6c820a9827811dd24bea82d
Diffstat (limited to 'res/res_musiconhold.c')
-rw-r--r--res/res_musiconhold.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 70bb04018..5ee1ac30b 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -1748,6 +1748,7 @@ static int load_moh_classes(int reload)
ast_log(LOG_WARNING, "Unknown option '%s' in [general] section of musiconhold.conf\n", var->name);
}
}
+ continue;
}
if (!(class = moh_class_malloc())) {