提交 b2c6d70c authored 作者: Brian West's avatar Brian West

FS-7208 #comment _undef_ as the header and/or ident will make it be an empty…

FS-7208 #comment _undef_ as the header and/or ident will make it be an empty string which is the same you were doing on your local builds #resolve
上级 ded05d1c
......@@ -628,9 +628,17 @@ switch_status_t load_configuration(switch_bool_t reload)
spandsp_globals.enable_t38_request = 0;
}
} else if (!strcmp(name, "ident")) {
spandsp_globals.ident = switch_core_strdup(spandsp_globals.config_pool, value);
if (!strcmp(value, "_undef_")) {
spandsp_globals.ident = "";
} else {
spandsp_globals.ident = switch_core_strdup(spandsp_globals.config_pool, value);
}
} else if (!strcmp(name, "header")) {
spandsp_globals.header = switch_core_strdup(spandsp_globals.config_pool, value);
if (!strcmp(value, "_undef_")) {
spandsp_globals.header = "";
} else {
spandsp_globals.header = switch_core_strdup(spandsp_globals.config_pool, value);
}
} else if (!strcmp(name, "spool-dir")) {
spandsp_globals.spool = switch_core_strdup(spandsp_globals.config_pool, value);
} else if (!strcmp(name, "file-prefix")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论