change strdupa to ast_strdupa (bug #2988)
authorRussell Bryant <russell@russellbryant.com>
Tue, 7 Dec 2004 15:42:00 +0000 (15:42 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 7 Dec 2004 15:42:00 +0000 (15:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4396 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index d27155b..4189b8b 100755 (executable)
@@ -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;