res/ari/resource_channels: Fix compilation issue

Forgot a parameter. Whoops.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@421312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Jordan
2014-08-18 01:13:41 +00:00
parent a6cf7b53da
commit 7eef81c370

View File

@@ -965,7 +965,8 @@ void ast_ari_channels_get_channel_var(struct ast_variable *headers,
if (args->variable[strlen(args->variable) - 1] == ')') {
if (ast_func_read2(channel, args->variable, &value, 0)) {
ast_ari_response_error(
response, 500, "Unable to read provided function");
response, 500, "Error With Function",
"Unable to read provided function");
return;
}
} else {