X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpf.c;h=225d536ebeddcf3f0b969ae251fb2ba8aacb681c;hb=42ca41a0798e3a2b742f7da3bacc03fbaf6175fa;hp=112e28f3554dee66efb5dd5dcd3fb15843ad4e85;hpb=f701e685eab83f37ecc6501d7dbe4eb941a454bb;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) {