projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated `configure.in'
[collectd.git]
/
src
/
hddtemp.c
diff --git
a/src/hddtemp.c
b/src/hddtemp.c
index
f77c030
..
1651a32
100644
(file)
--- a/
src/hddtemp.c
+++ b/
src/hddtemp.c
@@
-127,6
+127,10
@@
static int hddtemp_query_daemon (char *buffer, int buffer_size)
*/
memset (&srv_addr, '\0', sizeof (srv_addr));
+ /*
+ * FIXME
+ * use `getaddrinfo'
+ */
if ((srv_ent = gethostbyname (host)) == NULL)
{
syslog (LOG_WARNING, "hddtemp: Could not resolve hostname `%s'",