projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
no need to initialize result ptr of getaddrinfo
[collectd.git]
/
src
/
pinba.c
diff --git
a/src/pinba.c
b/src/pinba.c
index
6a4ebfc
..
66170bf
100644
(file)
--- a/
src/pinba.c
+++ b/
src/pinba.c
@@
-360,8
+360,6
@@
static pinba_socket_t *pinba_socket_open (const char *node, /* {{{ */
if (service == NULL)
service = PINBA_DEFAULT_SERVICE;
- ai_list = NULL;
-
struct addrinfo ai_hints = {
.ai_family = AF_UNSPEC,
.ai_flags = AI_PASSIVE,