mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Remove some redundant parking config error messages.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -527,13 +527,8 @@ static int option_handler_parkedfeature(const struct aco_option *opt, struct ast
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!parameter) {
|
ast_assert(parameter != NULL);
|
||||||
ast_log(LOG_ERROR, "Unable to handle option '%s'\n", var->name);
|
if (!parameter || parking_feature_flag_cfg(parameter, var->value)) {
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (parking_feature_flag_cfg(parameter, var->value)) {
|
|
||||||
ast_log(LOG_ERROR, "'%s' is not a valid value for parking lot option '%s'\n", var->value, var->name);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user