diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-06 11:03:08 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-06 11:03:08 +0000 |
commit | 960be953295a065d0b0f4f6f8357864426afbdc9 (patch) | |
tree | 0f50f79d5b3afc95428b59603774e6a77d604a22 /channel.c | |
parent | ed8f50e3bba0b8aeea42c3689eed9c64e362bc22 (diff) |
Revert, needs to be fixed in 1.2 first
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12031 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = ast_strndup((char *) f->data, f->datalen); /* dup and break */ + buf = strndup((char *) f->data, f->datalen); /* dup and break */ done = 1; } ast_frfree(f); |