[Asterisk-cvs] asterisk/channels chan_sip.c,1.585,1.586

russell at lists.digium.com russell at lists.digium.com
Tue Dec 7 10:44:15 CST 2004


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

Modified Files:
	chan_sip.c 
Log Message:
change strdupa to ast_strdupa (bug #2988)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.585
retrieving revision 1.586
diff -u -d -r1.585 -r1.586
--- chan_sip.c	4 Dec 2004 23:52:05 -0000	1.585
+++ chan_sip.c	7 Dec 2004 15:42:00 -0000	1.586
@@ -9128,7 +9128,7 @@
 	struct sip_pvt *p;
 	char *argv, *varname = NULL, *header = NULL, *content;
 	
-	argv = strdupa(data);
+	argv = ast_strdupa(data);
 	if (!argv) {
 		ast_log(LOG_DEBUG, "Memory allocation failed\n");
 		return 0;




More information about the svn-commits mailing list