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:
parent
e5a78f7bae
commit
a32f0dbf0e
|
@ -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 */
|
||||
|
|
Reference in New Issue