diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 23:21:40 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 23:21:40 +0000 |
commit | b5d9f6fc9c430e8f38e937bd7d1f9d568efcf5af (patch) | |
tree | 862a531a64fa9d13bb133e6f48a340a1ae5585d7 /res | |
parent | f438c16cf0b9461f0cf1681635394db159382f59 (diff) |
issue #5791
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7147 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_musiconhold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 10bd5b2ad..2a27dcec8 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -946,7 +946,7 @@ static int load_moh_classes(int reload) var = ast_variable_browse(cfg, cat); while (var) { if (!strcasecmp(var->name, "mode")) - ast_copy_string(class->mode, var->value, sizeof(class->name)); + ast_copy_string(class->mode, var->value, sizeof(class->mode)); else if (!strcasecmp(var->name, "directory")) ast_copy_string(class->dir, var->value, sizeof(class->dir)); else if (!strcasecmp(var->name, "application")) |