[Asterisk-cvs] asterisk/res res_musiconhold.c,1.75,1.76
twisted
twisted
Sun Nov 20 00:11:45 CST 2005
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv500/res
Modified Files:
res_musiconhold.c
Log Message:
issue #5803
Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- res_musiconhold.c 16 Nov 2005 17:48:18 -0000 1.75
+++ res_musiconhold.c 20 Nov 2005 05:01:07 -0000 1.76
@@ -946,7 +946,7 @@
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"))
More information about the svn-commits
mailing list