aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-06 11:03:46 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-06 11:03:46 +0000
commit0f7a7b80c3cb3ffc8882169a4fd6d28523d3b405 (patch)
tree10c1f51fd539482cf154c53cd7283cc093edbe61 /channel.c
parentce504578648d8831209c2b0e1da8a09c4767fbe4 (diff)
Fix for astmm compilation
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@12036 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 011bdaef3..bf1f3637c 100644
--- a/channel.c
+++ b/channel.c
@@ -2092,7 +2092,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);