diff options
author | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 05:01:07 +0000 |
---|---|---|
committer | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 05:01:07 +0000 |
commit | 75c525d6d342d1391ca4b9eeea0e5fce647d6f00 (patch) | |
tree | 43b3b44cdf3c1d0986a245126de0e7ce4097b77b /res/res_musiconhold.c | |
parent | b0ce77d2ded5af67350ae4f97afc5d9b45f049b1 (diff) |
issue #5803
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7137 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_musiconhold.c')
-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")) |