Change strdupa's to ast_strupda's

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-09-29 20:13:54 +00:00
parent 4fe5b6f516
commit 229f4abf93
4 changed files with 5 additions and 4 deletions

View File

@@ -5308,7 +5308,7 @@ static struct ast_channel *zt_request(char *type, int format, void *data)
return NULL;
}
if (data) {
dest = strdupa((char *)data);
dest = ast_strdupa((char *)data);
} else {
ast_log(LOG_WARNING, "Channel requested with no data\n");
return NULL;