X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fpf.c;h=225d536ebeddcf3f0b969ae251fb2ba8aacb681c;hb=268aa9e2ca0a5d666b9cf91233aa7ea742aed2a2;hp=112e28f3554dee66efb5dd5dcd3fb15843ad4e85;hpb=1fc00932fd49fa535551cc4bba09c4e4be059ab4;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) {