[asterisk-commits] trunk r12031 - /trunk/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 6 04:03:10 MST 2006


Author: oej
Date: Mon Mar  6 05:03:08 2006
New Revision: 12031

URL: http://svn.digium.com/view/asterisk?rev=12031&view=rev
Log:
Revert, needs to be fixed in 1.2 first

Modified:
    trunk/channel.c

Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=12031&r1=12030&r2=12031&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Mon Mar  6 05:03:08 2006
@@ -2122,7 +2122,7 @@
 		if (f->frametype == AST_FRAME_CONTROL && f->subclass == AST_CONTROL_HANGUP)
 			done = 1;	/* force a break */
 		else if (f->frametype == AST_FRAME_TEXT) {		/* what we want */
-			buf = ast_strndup((char *) f->data, f->datalen);	/* dup and break */
+			buf = strndup((char *) f->data, f->datalen);	/* dup and break */
 			done = 1;
 		}
 		ast_frfree(f);



More information about the asterisk-commits mailing list