mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1622,7 +1622,7 @@ static int action_agent_logoff(struct mansession *s, struct message *m)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static char *complete_agent_logoff_cmd(char *line, char *word, int pos, int state)
|
||||
static char *complete_agent_logoff_cmd(const char *line, const char *word, int pos, int state)
|
||||
{
|
||||
struct agent_pvt *p;
|
||||
char name[AST_MAX_AGENT];
|
||||
|
Reference in New Issue
Block a user