[asterisk-commits] trunk r12025 - /trunk/channel.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Mar 6 04:02:14 MST 2006
Author: oej
Date: Mon Mar 6 05:02:12 2006
New Revision: 12025
URL: http://svn.digium.com/view/asterisk?rev=12025&view=rev
Log:
Fix compilation with astmm
Modified:
trunk/channel.c
Modified: trunk/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/channel.c?rev=12025&r1=12024&r2=12025&view=diff
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Mon Mar 6 05:02:12 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