mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2650,7 +2650,7 @@ static int aji_create_client(char *label, struct ast_variable *var, int debug)
|
||||
else if (!strcasecmp(var->name, "autoregister"))
|
||||
ast_set2_flag(client, ast_true(var->value), AJI_AUTOREGISTER);
|
||||
else if (!strcasecmp(var->name, "buddy"))
|
||||
aji_create_buddy(var->value, client);
|
||||
aji_create_buddy((char *)var->value, client);
|
||||
else if (!strcasecmp(var->name, "priority"))
|
||||
client->priority = atoi(var->value);
|
||||
else if (!strcasecmp(var->name, "status")) {
|
||||
|
||||
Reference in New Issue
Block a user