X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpf.c;h=225d536ebeddcf3f0b969ae251fb2ba8aacb681c;hb=edd9af8a874ebc9f2a7f02846807229a648917db;hp=112e28f3554dee66efb5dd5dcd3fb15843ad4e85;hpb=218c57128f2e54960133cff3e774b5ef9944068a;p=collectd.git diff --git a/src/pf.c b/src/pf.c index 112e28f3..225d536e 100644 --- a/src/pf.c +++ b/src/pf.c @@ -26,9 +26,6 @@ #if HAVE_SYS_IOCTL_H # include #endif -#if HAVE_SYS_SOCKET_H -# include -#endif #if HAVE_NET_IF_H # include #endif @@ -109,7 +106,6 @@ static int pf_read (void) } close (fd); - fd = -1; if (!state.running) {