mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
FS-6402 --resolve
This commit is contained in:
1 parent
2c7c041f50
commit
5c0cff70b3
50 files changed
+161
-149
No files matched your search
@@ -810,7 +810,7 @@ SWITCH_STANDARD_API(show_local_stream_function)
|
||||
switch_mutex_lock(globals.mutex);
|
||||
|
||||
if (zstr(cmd)) {
|
||||
for (hi = switch_core_hash_first( globals.source_hash); hi; hi = switch_core_hash_next(hi)) {
|
||||
for (hi = switch_core_hash_first( globals.source_hash); hi; hi = switch_core_hash_next(&hi)) {
|
||||
switch_core_hash_this(hi, &var, NULL, &val);
|
||||
if ((source = (local_stream_source_t *) val)) {
|
||||
stream->write_function(stream, "%s,%s\n", source->name, source->location);
|
||||
|
||||
@@ -343,7 +343,7 @@ static struct voice *find_voice(struct ssml_node *cur_node, switch_hash_t *map,
|
||||
}
|
||||
|
||||
/* find best language, name, gender match */
|
||||
for (hi = switch_core_hash_first(map); hi; hi = switch_core_hash_next(hi)) {
|
||||
for (hi = switch_core_hash_first(map); hi; hi = switch_core_hash_next(&hi)) {
|
||||
const void *key;
|
||||
void *val;
|
||||
struct voice *candidate;
|
||||
@@ -1160,7 +1160,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_ssml_shutdown)
|
||||
switch_core_hash_destroy(&globals.language_map);
|
||||
{
|
||||
switch_hash_index_t *hi = NULL;
|
||||
for (hi = switch_core_hash_first(globals.tag_defs); hi; hi = switch_core_hash_next(hi)) {
|
||||
for (hi = switch_core_hash_first(globals.tag_defs); hi; hi = switch_core_hash_next(&hi)) {
|
||||
const void *key;
|
||||
struct tag_def *def;
|
||||
switch_core_hash_this(hi, &key, NULL, (void *)&def);
|
||||
|
||||
Reference in new issue
Block a user