Trivial portability fix
authorMark Spencer <markster@digium.com>
Wed, 28 Apr 2004 15:29:26 +0000 (15:29 +0000)
committerMark Spencer <markster@digium.com>
Wed, 28 Apr 2004 15:29:26 +0000 (15:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2799 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_directory.c

index ad785c8..34f76f2 100755 (executable)
@@ -250,7 +250,7 @@ static int directory_exec(struct ast_channel *chan, void *data)
        }
        LOCAL_USER_ADD(u);
 top:
-       context = strdupa(data);
+       context = ast_strdupa(data);
        dialcontext = strchr(context, '|');
        if (dialcontext) {
                *dialcontext = '\0';