diff --git a/res/res_features.c b/res/res_features.c index c29ff25c184758d25ba1fddd52ea24aa8ce786a0..d3235e5924add6c6140c04fabf40583dbc965ad6 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -2260,7 +2260,7 @@ static int park_exec(struct ast_channel *chan, void *data) u = ast_module_user_add(chan); - if (park) + if (data) park = atoi((char *)data); AST_LIST_LOCK(&parkinglot);