projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Use AF_UNSPEC consistently
[collectd.git]
/
src
/
hddtemp.c
diff --git
a/src/hddtemp.c
b/src/hddtemp.c
index
1b7ed32
..
e7b4d8a
100644
(file)
--- a/
src/hddtemp.c
+++ b/
src/hddtemp.c
@@
-101,7
+101,7
@@
static int hddtemp_query_daemon (char *buffer, int buffer_size)
struct addrinfo ai_hints = {
.ai_flags = AI_ADDRCONFIG,
- .ai_family =
P
F_UNSPEC,
+ .ai_family =
A
F_UNSPEC,
.ai_protocol = IPPROTO_TCP,
.ai_socktype = SOCK_STREAM
};