mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
allow commented categories
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@644 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
@@ -2098,7 +2098,12 @@ static zap_status_t load_config(void)
|
||||
}
|
||||
|
||||
while (zap_config_next_pair(&cfg, &var, &val)) {
|
||||
if (!strncasecmp(cfg.category, "span", 4)) {
|
||||
if (*cfg.category == '#') {
|
||||
if (cfg.catno != catno) {
|
||||
zap_log(ZAP_LOG_DEBUG, "Skipping %s\n", cfg.category);
|
||||
catno = cfg.catno;
|
||||
}
|
||||
} else if (!strncasecmp(cfg.category, "span", 4)) {
|
||||
if (cfg.catno != catno) {
|
||||
char *type = cfg.category + 4;
|
||||
char *name;
|
||||
|
Reference in New Issue
Block a user