diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-27 13:08:45 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-27 13:08:45 +0000 |
commit | 269be75f5adfaf787f0ea0f89ebd19929459f12f (patch) | |
tree | 09e7f9fa5c6bbbdd7042d791f5c35177acf54e5f /apps/app_while.c | |
parent | 7d6a256893de46f47d0d48110865a802b9db7c7a (diff) |
Fix for FreeBSD portability
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4559 f38db490-d61c-443f-a65b-d21fe96a405b
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'; |