[Asterisk-cvs] asterisk/channels chan_iax2.c,1.331,1.332

russell russell
Tue Aug 9 15:28:22 CDT 2005


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

Modified Files:
	chan_iax2.c 
Log Message:
fix a little oopsie


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.331
retrieving revision 1.332
diff -u -d -r1.331 -r1.332
--- chan_iax2.c	9 Aug 2005 16:41:28 -0000	1.331
+++ chan_iax2.c	9 Aug 2005 19:31:54 -0000	1.332
@@ -8403,7 +8403,7 @@
 	/* Seed initial tos value */
 	tosval = ast_variable_retrieve(cfg, "general", "tos");
 	if (tosval) {
-		if (ast_str2tos(v->value, &tos))
+		if (ast_str2tos(tosval, &tos))
 			ast_log(LOG_WARNING, "Invalid tos value, should be 'lowdelay', 'throughput', 'reliability', 'mincost', or 'none'\n");
 	}
 	while(v) {




More information about the svn-commits mailing list