dect
/
asterisk
Archived
13
0
Fork 0

Fix compilation of chan_agent.c on gcc < 3.0

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4085 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
citats 2004-10-24 18:02:32 +00:00
parent e5a78f7bae
commit a32f0dbf0e
1 changed files with 1 additions and 1 deletions

View File

@ -1242,10 +1242,10 @@ static int __login_exec(struct ast_channel *chan, void *data, int callbackmode)
char *exten = NULL;
int play_announcement = 1;
char agent_goodbye[AST_MAX_FILENAME_LEN];
strcpy(agent_goodbye, agentgoodbye);
int update_cdr = updatecdr;
char *filename = "agent-loginok";
strcpy(agent_goodbye, agentgoodbye);
LOCAL_USER_ADD(u);
/* Parse the arguments XXX Check for failure XXX */