aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index d27155b07..4189b8bd7 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;