[Asterisk-cvs] asterisk/res res_musiconhold.c,1.75,1.75.2.1

russell russell
Sun Nov 20 18:32:23 CST 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv18216/res

Modified Files:
      Tag: v1-2
	res_musiconhold.c 
Log Message:
issue #5791


Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.75
retrieving revision 1.75.2.1
diff -u -d -r1.75 -r1.75.2.1
--- res_musiconhold.c	16 Nov 2005 17:48:18 -0000	1.75
+++ res_musiconhold.c	20 Nov 2005 23:21:40 -0000	1.75.2.1
@@ -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