X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnetwork.c;h=916900065aff9241a99454ab86cd2bf675655d8f;hb=92ba2e344ef0822d25dd2761fd548585b0644b1e;hp=f14a0ad580d5c3427a54cb63ff56bbb77b9512a9;hpb=88f22ff8b4c69eb38b6aaab30df212df1871d4ec;p=collectd.git diff --git a/src/network.c b/src/network.c index f14a0ad5..91690006 100644 --- a/src/network.c +++ b/src/network.c @@ -39,9 +39,6 @@ #if HAVE_PTHREAD_H # include #endif -#if HAVE_SYS_SOCKET_H -# include -#endif #if HAVE_NETDB_H # include #endif @@ -3105,7 +3102,7 @@ static int network_config_add_listen (const oconfig_item_t *ci) /* {{{ */ 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); }