[asterisk-commits] branch 1.2 r12072 - /branches/1.2/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 6 07:23:16 MST 2006


Author: oej
Date: Mon Mar  6 08:23:14 2006
New Revision: 12072

URL: http://svn.digium.com/view/asterisk?rev=12072&view=rev
Log:
Revert earlier change

Modified:
    branches/1.2/channel.c

Modified: branches/1.2/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channel.c?rev=12072&r1=12071&r2=12072&view=diff
==============================================================================
--- branches/1.2/channel.c (original)
+++ branches/1.2/channel.c Mon Mar  6 08:23:14 2006
@@ -2092,7 +2092,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