]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res/ari/resource_channels: Fix compilation issue
authorMatthew Jordan <mjordan@digium.com>
Mon, 18 Aug 2014 01:13:41 +0000 (01:13 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 18 Aug 2014 01:13:41 +0000 (01:13 +0000)
Forgot a parameter. Whoops.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@421312 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/ari/resource_channels.c

index 5b63b48229601c45b8aa890a83ad8b4f474058e8..112607db6b6ae1da0d7a321a46f91c55e337e4a9 100644 (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 {