From 1df3fa8f9deffd26899090b18d2548913519793c Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen <travisghansen@yahoo.com> Date: Tue, 16 Oct 2012 22:34:53 -0600 Subject: [PATCH] initializing pidfile as null to prevent issue #5 --- fanout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanout.c b/fanout.c index a0a48bb..a02271d 100644 --- a/fanout.c +++ b/fanout.c @@ -157,7 +157,7 @@ int main (int argc, char *argv[]) socklen_t optlen = sizeof(optval); u_int listen_backlog = 25; u_int max_events = 25; - FILE *pidfile; + FILE *pidfile = NULL; server_start_time = (long)time (NULL); char buffer[1025]; -- GitLab