FS-6402 --resolve

This commit is contained in:
Anthony Minessale
2014-04-02 01:20:19 +05:00
parent 2c7c041f50
commit 5c0cff70b3
50 changed files with 161 additions and 149 deletions

View File

@@ -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);