projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
madwifi: fix scan-build warning
[collectd.git]
/
src
/
statsd.c
diff --git
a/src/statsd.c
b/src/statsd.c
index
285486d
..
7eb5862
100644
(file)
--- a/
src/statsd.c
+++ b/
src/statsd.c
@@
-25,6
+25,7
@@
*/
#include "collectd.h"
+
#include "plugin.h"
#include "common.h"
#include "configfile.h"
@@
-500,7
+501,7
@@
static int statsd_network_init (struct pollfd **ret_fds, /* {{{ */
struct pollfd *fds = NULL;
size_t fds_num = 0;
- struct addrinfo *ai_list
= NULL
;
+ struct addrinfo *ai_list;
struct addrinfo *ai_ptr;
int status;