dect
/
asterisk
Archived
13
0
Fork 0

Fix for FreeBSD portability

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4559 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-12-27 13:08:45 +00:00
parent 7d6a256893
commit 269be75f5a
1 changed files with 3 additions and 3 deletions

View File

@ -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';