aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_channel.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-25 06:38:09 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-25 06:38:09 +0000
commit1b4ffa52484b48cd5af12e659ec12e32c8ebdaa8 (patch)
tree5b90e73ac89248eea33d1422f7da41214e0e3703 /funcs/func_channel.c
parentd5ae839795fbfd49def8978575b9ae0650ae6c78 (diff)
rename the structs struct tone_zone_sound and struct tone_zone
defined in indications.h to ind_tone_zone_sound and ind_tone_zone, to avoid conflicts with the structs with the same names defined in tonezone.h Hope i haven't missed any instance. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48958 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_channel.c')
-rw-r--r--funcs/func_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index 9c02a59fa..cbaab0572 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -111,7 +111,7 @@ static int func_channel_write(struct ast_channel *chan, char *function,
else if (!strcasecmp(data, "musicclass"))
locked_string_field_set(chan, musicclass, value);
else if (!strcasecmp(data, "tonezone")) {
- struct tone_zone *new_zone;
+ struct ind_tone_zone *new_zone;
if (!(new_zone = ast_get_indication_zone(value))) {
ast_log(LOG_ERROR, "Unknown country code '%s' for tonezone. Check indications.conf for available country codes.\n", value);
ret = -1;