Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ambrop72/badvpn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ncd/modules/valuemetic.c')
-rw-r--r--ncd/modules/valuemetic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncd/modules/valuemetic.c b/ncd/modules/valuemetic.c
index 0ab76a7..66bee53 100644
--- a/ncd/modules/valuemetic.c
+++ b/ncd/modules/valuemetic.c
@@ -131,7 +131,7 @@ static int func_getvar2 (void *vo, NCD_string_id_t name, NCDValMem *mem, NCDValR
struct instance *o = vo;
if (name == NCD_STRING_EMPTY) {
- *out = ncd_make_boolean(mem, o->result, o->i->params->iparams->string_index);
+ *out = ncd_make_boolean(mem, o->result);
return 1;
}