diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-06 14:23:14 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-06 14:23:14 +0000 |
commit | ca1c50adf35832b12644604fc3bc08ed879a595b (patch) | |
tree | a3659a0d7205d1c038aab035c211b94831a13b55 | |
parent | 0f7a7b80c3cb3ffc8882169a4fd6d28523d3b405 (diff) |
Revert earlier change
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@12072 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = 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); |