From: Matthew Jordan Date: Mon, 18 Aug 2014 01:13:41 +0000 (+0000) Subject: res/ari/resource_channels: Fix compilation issue X-Git-Tag: 13.0.0-beta2~2^2~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eef81c370f82013dd5b5a83894acffb589721cb;p=thirdparty%2Fasterisk.git 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 --- diff --git a/res/ari/resource_channels.c b/res/ari/resource_channels.c index 5b63b48229..112607db6b 100644 --- a/res/ari/resource_channels.c +++ b/res/ari/resource_channels.c @@ -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 {