[Asterisk-cvs] asterisk/channels chan_sip.c,1.373,1.374

markster at lists.digium.com markster at lists.digium.com
Sat May 8 10:36:28 CDT 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Copy musicclass to right field (bug #1582)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.373
retrieving revision 1.374
diff -u -d -r1.373 -r1.374
--- chan_sip.c	7 May 2004 18:57:17 -0000	1.373
+++ chan_sip.c	8 May 2004 14:45:49 -0000	1.374
@@ -6648,7 +6648,7 @@
 		/* set default context */
 		strncpy(user->context, context, sizeof(user->context)-1);
 		strncpy(user->language, language, sizeof(user->language)-1);
-		strncpy(user->language, globalmusicclass, sizeof(user->musicclass)-1);
+		strncpy(user->musicclass, globalmusicclass, sizeof(user->musicclass)-1);
 		while(v) {
 			if (!strcasecmp(v->name, "context")) {
 				strncpy(user->context, v->value, sizeof(user->context));




More information about the svn-commits mailing list