[Asterisk-cvs] asterisk/channels chan_sip.c,1.273,1.274

jeremy at lists.digium.com jeremy at lists.digium.com
Mon Jan 12 15:51:05 CST 2004


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

Modified Files:
	chan_sip.c 
Log Message:
fix typo. Bug #813


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -d -r1.273 -r1.274
--- chan_sip.c	12 Jan 2004 21:37:50 -0000	1.273
+++ chan_sip.c	12 Jan 2004 21:42:51 -0000	1.274
@@ -2551,7 +2551,7 @@
 				if (x < AST_FORMAT_MAX_AUDIO) {
 					strncat(m, costr, sizeof(m) - strlen(m));
 					snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/8000\r\n", codec, ast_rtp_lookup_mime_subtype(1, x));
-					strncat(a, costr, sizeof(m) - strlen(a));
+					strncat(a, costr, sizeof(a) - strlen(a));
 				} else {
 					strncat(m2, costr, sizeof(m2) - strlen(m2));
 					snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/90000\r\n", codec, ast_rtp_lookup_mime_subtype(1, x));




More information about the svn-commits mailing list