mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-6402 --resolve
This commit is contained in:
@@ -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