projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stats plugin: Link with libm (-lm).
[collectd.git]
/
src
/
ntpd.c
diff --git
a/src/ntpd.c
b/src/ntpd.c
index
bbc455f
..
540eb78
100644
(file)
--- a/
src/ntpd.c
+++ b/
src/ntpd.c
@@
-664,7
+664,6
@@
static int ntpd_receive_response (int *res_items, int *res_size,
(items_num + pkt_item_num) * res_item_size);
if (items == NULL)
{
(items_num + pkt_item_num) * res_item_size);
if (items == NULL)
{
- items = *res_data;
ERROR ("ntpd plugin: realloc failed.");
continue;
}
ERROR ("ntpd plugin: realloc failed.");
continue;
}