projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
write_graphite plugin: Coding style fixes.
[collectd.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
f14a0ad
..
9169000
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-39,9
+39,6
@@
#if HAVE_PTHREAD_H
# include <pthread.h>
#endif
#if HAVE_PTHREAD_H
# include <pthread.h>
#endif
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
#if HAVE_NETDB_H
# include <netdb.h>
#endif
#if HAVE_NETDB_H
# include <netdb.h>
#endif
@@
-3105,7
+3102,7
@@
static int network_config_add_listen (const oconfig_item_t *ci) /* {{{ */
status = sockent_server_listen (se);
if (status != 0)
{
status = sockent_server_listen (se);
if (status != 0)
{
- ERROR ("network plugin: network_config_add_
server
: sockent_server_listen failed.");
+ ERROR ("network plugin: network_config_add_
listen
: sockent_server_listen failed.");
sockent_destroy (se);
return (-1);
}
sockent_destroy (se);
return (-1);
}