From 73074bf7a885dea538600e4d130f65dd51584734 Mon Sep 17 00:00:00 2001 From: Olof Hagsand Date: Mon, 15 Jan 2018 21:36:42 +0000 Subject: [PATCH] json vector --- apps/restconf/restconf_methods.c | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/apps/restconf/restconf_methods.c b/apps/restconf/restconf_methods.c index 549cda02..eaa88b33 100644 --- a/apps/restconf/restconf_methods.c +++ b/apps/restconf/restconf_methods.c @@ -294,24 +294,16 @@ api_data_get2(clicon_handle h, if (xpath_vec(xret, path, &xvec, &xlen) < 0) goto done; clicon_debug(1, "%s: xpath:%s xlen:%d", __FUNCTION__, path, xlen); - for (i=0; i