+2005-11-20 Josh Roberson <josh@asteriasgi.com>
+
+ * res/res_musiconhold.c: Correct typo in ast_copy_string() for class->mode. (issue #5803)
+
2005-11-19 Josh Roberson <josh@asteriasgi.com>
* channels/Makefile: Put chan_oss back into the default build. (issue #5799)
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"))