projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
curl_json plugin: fix indentation
[collectd.git]
/
src
/
curl_json.c
diff --git
a/src/curl_json.c
b/src/curl_json.c
index
1cf6381
..
55db387
100644
(file)
--- a/
src/curl_json.c
+++ b/
src/curl_json.c
@@
-922,7
+922,7
@@
static int cj_curl_perform(cj_t *db) /* {{{ */
return (-1);
}
if (db->stats != NULL)
return (-1);
}
if (db->stats != NULL)
- curl_stats_dispatch (db->stats, db->curl, cj_host (db), "curl_json", db->instance
, NULL
);
+ curl_stats_dispatch (db->stats, db->curl, cj_host (db), "curl_json", db->instance);
curl_easy_getinfo(db->curl, CURLINFO_EFFECTIVE_URL, &url);
curl_easy_getinfo(db->curl, CURLINFO_RESPONSE_CODE, &rc);
curl_easy_getinfo(db->curl, CURLINFO_EFFECTIVE_URL, &url);
curl_easy_getinfo(db->curl, CURLINFO_RESPONSE_CODE, &rc);
@@
-968,9
+968,9
@@
static int cj_perform (cj_t *db) /* {{{ */
}
#if HAVE_YAJL_V2
}
#if HAVE_YAJL_V2
-
status = yajl_complete_parse(db->yajl);
+ status = yajl_complete_parse(db->yajl);
#else
#else
-
status = yajl_parse_complete(db->yajl);
+ status = yajl_parse_complete(db->yajl);
#endif
if (status != yajl_status_ok)
{
#endif
if (status != yajl_status_ok)
{