From 8a171c809b57bcccc25936b2e7569715120eef31 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Fri, 27 Jan 2006 13:54:47 +0000 Subject: [PATCH] rpn.c : vlm_cmd now adds a "vlm_value" variable AUTHORS : add the HTTP interface rewrite --- AUTHORS | 1 + modules/control/http/rpn.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/AUTHORS b/AUTHORS index f237432b60..3cebe6bd62 100644 --- a/AUTHORS +++ b/AUTHORS @@ -116,6 +116,7 @@ E: dionoea@videolan.org C: dionoea D: Video Filters: mosaic, gradient and edge detection, magnify, rss D: Podcast demux +D: HTTP interface pages S: France N: Renaud Dartus diff --git a/modules/control/http/rpn.c b/modules/control/http/rpn.c index a16ee78b20..8b1bef2a95 100644 --- a/modules/control/http/rpn.c +++ b/modules/control/http/rpn.c @@ -1002,6 +1002,9 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t *vars, } E_(mvar_AppendNewVar)( vars, "vlm_error", psz_error ); + /* this is kind of a duplicate but we need to have the message + * without the command name for the "export" command */ + E_(mvar_AppendNewVar)( vars, "vlm_value", vlm_answer->psz_value ); vlm_MessageDelete( vlm_answer ); free( psz_cmd ); -- 2.39.5