[asterisk-commits] branch 1.2 r12036 - /branches/1.2/channel.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Mar 6 04:03:49 MST 2006
Author: oej
Date: Mon Mar 6 05:03:46 2006
New Revision: 12036
URL: http://svn.digium.com/view/asterisk?rev=12036&view=rev
Log:
Fix for astmm compilation
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=12036&r1=12035&r2=12036&view=diff
==============================================================================
--- branches/1.2/channel.c (original)
+++ branches/1.2/channel.c Mon Mar 6 05:03:46 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 = 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