curl_json plugin: Call yajl_complete_parse() / yajl_parse_complete() only once.
authorFlorian Forster <octo@collectd.org>
Wed, 20 Feb 2013 07:36:46 +0000 (08:36 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 20 Feb 2013 07:36:46 +0000 (08:36 +0100)
commit59c22282427eb6c38d6651cdaa205533752284cb
tree95272422d08c4d2d12ff6415fd0a79334b9cc17e
parenta7aec0ae6160be6aa6b1b2b06574bb0dd47497f2
curl_json plugin: Call yajl_complete_parse() / yajl_parse_complete() only once.

The cURL callback may be called several times, so we need to call the
complete() function after perform() returns.
src/curl_json.c