change strdupa to ast_strdupa (bug #2988)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2004-12-07 15:42:00 +00:00
parent 77b5459c59
commit d685a19c9e

View File

@@ -9128,7 +9128,7 @@ static int sip_getheader(struct ast_channel *chan, void *data)
struct sip_pvt *p;
char *argv, *varname = NULL, *header = NULL, *content;
argv = strdupa(data);
argv = ast_strdupa(data);
if (!argv) {
ast_log(LOG_DEBUG, "Memory allocation failed\n");
return 0;