projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5126b04
)
chrony plugin: Re-run clang-format.
author
Florian Forster
<octo@collectd.org>
Thu, 18 May 2017 08:05:42 +0000
(10:05 +0200)
committer
Florian Forster
<octo@collectd.org>
Thu, 18 May 2017 08:05:42 +0000
(10:05 +0200)
src/chrony.c
patch
|
blob
|
history
diff --git
a/src/chrony.c
b/src/chrony.c
index
988fc3b
..
a5e85a8
100644
(file)
--- a/
src/chrony.c
+++ b/
src/chrony.c
@@
-892,8
+892,9
@@
static int chrony_request_source_data(int p_src_idx, char *src_addr,
ntohs(chrony_resp.body.source_data.f_reachability));
chrony_push_data_valid("clock_last_meas", src_addr, is_reachable,
ntohl(chrony_resp.body.source_data.f_since_sample));
ntohs(chrony_resp.body.source_data.f_reachability));
chrony_push_data_valid("clock_last_meas", src_addr, is_reachable,
ntohl(chrony_resp.body.source_data.f_since_sample));
- chrony_push_data_valid("time_offset", src_addr, is_reachable,
- ntohf(chrony_resp.body.source_data.f_origin_latest_meas));
+ chrony_push_data_valid(
+ "time_offset", src_addr, is_reachable,
+ ntohf(chrony_resp.body.source_data.f_origin_latest_meas));
return CHRONY_RC_OK;
}
return CHRONY_RC_OK;
}