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
/
olsrd.c
diff --git
a/src/olsrd.c
b/src/olsrd.c
index
976793f
..
ac47811
100644
(file)
--- a/
src/olsrd.c
+++ b/
src/olsrd.c
@@
-154,8
+154,6
@@
static FILE *olsrd_connect (void) /* {{{ */
FILE *fh;
- ai_list = NULL;
-
struct addrinfo ai_hints = {
.ai_family = PF_UNSPEC,
.ai_flags = AI_ADDRCONFIG,