[Asterisk-cvs] asterisk/channels chan_zap.c,1.197,1.198

markster at lists.digium.com markster at lists.digium.com
Tue Mar 30 16:24:48 CST 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Fix progzone loader


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -d -r1.197 -r1.198
--- chan_zap.c	28 Mar 2004 02:53:04 -0000	1.197
+++ chan_zap.c	30 Mar 2004 21:23:16 -0000	1.198
@@ -7541,6 +7541,8 @@
 			strncpy(context, v->value, sizeof(context)-1);
 		} else if (!strcasecmp(v->name, "language")) {
 			strncpy(language, v->value, sizeof(language)-1);
+		} else if (!strcasecmp(v->name, "progzone")) {
+			strncpy(progzone, v->value, sizeof(progzone)-1);
 		} else if (!strcasecmp(v->name, "musiconhold")) {
 			strncpy(musicclass, v->value, sizeof(musicclass)-1);
 		} else if (!strcasecmp(v->name, "stripmsd")) {
@@ -8096,7 +8098,7 @@
 		} else if (!strcasecmp(v->name, "language")) {
 			strncpy(language, v->value, sizeof(language)-1);
 		} else if (!strcasecmp(v->name, "progzone")) {
-			strncpy(progzone, v->value, sizeov(progzone) - 1);
+			strncpy(progzone, v->value, sizeof(progzone) - 1);
 		} else if (!strcasecmp(v->name, "musiconhold")) {
 			strncpy(musicclass, v->value, sizeof(musicclass)-1);
 		} else if (!strcasecmp(v->name, "stripmsd")) {




More information about the svn-commits mailing list