diff options
author | Mark Spencer <markster@digium.com> | 2004-12-27 13:08:45 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-12-27 13:08:45 +0000 |
commit | a91b07d340bd45acbae0c1725166cd587d58fe39 (patch) | |
tree | 09e7f9fa5c6bbbdd7042d791f5c35177acf54e5f /apps/app_while.c | |
parent | 83728dbd79f1569d77cf6daf332470fa317d0396 (diff) |
Fix for FreeBSD portability
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_while.c')
-rwxr-xr-x | apps/app_while.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_while.c b/apps/app_while.c index ab1d9d472..a4a5c0c1d 100755 --- a/apps/app_while.c +++ b/apps/app_while.c @@ -3,7 +3,7 @@ * * While Loop and ExecIf Implementations * - * Copyright Anthony Minessale <anthmct@yahoo.com> + * Copyright 2004, Anthony Minessale <anthmct@yahoo.com> * * Anthony Minessale <anthmct@yahoo.com> * @@ -56,13 +56,13 @@ LOCAL_USER_DECL; static int execif_exec(struct ast_channel *chan, void *data) { int res=0; - struct localuser *u; - LOCAL_USER_ADD(u); + struct localuser *u; char *myapp = NULL; char *mydata = NULL; char *expr = NULL; struct ast_app *app = NULL; + LOCAL_USER_ADD(u); expr = ast_strdupa((char *) data); if ((myapp = strchr(expr,'|'))) { *myapp = '\0'; |