From: Florian Forster Date: Mon, 13 Dec 2010 08:45:44 +0000 (+0100) Subject: curl_json plugin: Fix handling of arrays. X-Git-Tag: collectd-4.10.3~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1f524c3d717b14d4ab6ad66d0fbf6e3aee14c4f9;p=collectd.git curl_json plugin: Fix handling of arrays. --- diff --git a/src/curl_json.c b/src/curl_json.c index 0527dc8d..248b91b5 100644 --- a/src/curl_json.c +++ b/src/curl_json.c @@ -279,7 +279,7 @@ static int cj_cb_start_array (void * ctx) static int cj_cb_end_array (void * ctx) { - return cj_cb_start (ctx); + return cj_cb_end (ctx); } static yajl_callbacks ycallbacks = {