From a91b07d340bd45acbae0c1725166cd587d58fe39 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Mon, 27 Dec 2004 13:08:45 +0000 Subject: Fix for FreeBSD portability git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4559 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_while.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') 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 + * Copyright 2004, Anthony Minessale * * Anthony Minessale * @@ -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'; -- cgit v1.2.3