mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 03:08:45 +00:00
Fix compilation of chan_agent.c on gcc < 3.0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1242,10 +1242,10 @@ static int __login_exec(struct ast_channel *chan, void *data, int callbackmode)
|
|||||||
char *exten = NULL;
|
char *exten = NULL;
|
||||||
int play_announcement = 1;
|
int play_announcement = 1;
|
||||||
char agent_goodbye[AST_MAX_FILENAME_LEN];
|
char agent_goodbye[AST_MAX_FILENAME_LEN];
|
||||||
strcpy(agent_goodbye, agentgoodbye);
|
|
||||||
int update_cdr = updatecdr;
|
int update_cdr = updatecdr;
|
||||||
char *filename = "agent-loginok";
|
char *filename = "agent-loginok";
|
||||||
|
|
||||||
|
strcpy(agent_goodbye, agentgoodbye);
|
||||||
LOCAL_USER_ADD(u);
|
LOCAL_USER_ADD(u);
|
||||||
|
|
||||||
/* Parse the arguments XXX Check for failure XXX */
|
/* Parse the arguments XXX Check for failure XXX */
|
||||||
|
Reference in New Issue
Block a user