[asterisk-commits] trunk r12041 - in /trunk: ./ channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 6 04:11:14 MST 2006


Author: oej
Date: Mon Mar  6 05:11:11 2006
New Revision: 12041

URL: http://svn.digium.com/view/asterisk?rev=12041&view=rev
Log:
Make astmm compile (imported from 1.2)

Modified:
    trunk/   (props changed)
    trunk/channel.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=12041&r1=12040&r2=12041&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Mon Mar  6 05:11:11 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 = strndup((char *) f->data, f->datalen);	/* dup and break */
+			buf = ast_strndup((char *) f->data, f->datalen);	/* dup and break */
 			done = 1;
 		}
 		ast_frfree(f);



More information about the asterisk-commits mailing list