aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-06 11:11:11 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-06 11:11:11 +0000
commitc8f5ceca4272bc09b961b0fd9a35d415ca3faaa5 (patch)
tree605d847927ce75f418abe758514e62f9bdaf6d8a /channel.c
parent960be953295a065d0b0f4f6f8357864426afbdc9 (diff)
Make astmm compile (imported from 1.2)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12041 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 14c15a0fe..e804f7ae9 100644
--- a/channel.c
+++ b/channel.c
@@ -2122,7 +2122,7 @@ char *ast_recvtext(struct ast_channel *chan, int timeout)
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);