From: Fredrik Tolf Date: Sat, 15 May 2021 01:33:27 +0000 (+0200) Subject: htparser: Fixed pidfile initialization bug. X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=a1a3489bbae23eb6927e7ae9d0d77326b4fde78e htparser: Fixed pidfile initialization bug. --- diff --git a/src/htparser.c b/src/htparser.c index b7435b9..e281abd 100644 --- a/src/htparser.c +++ b/src/htparser.c @@ -607,7 +607,7 @@ int main(int argc, char **argv) struct passwd *pwent; daemonize = usesyslog = 0; - root = NULL; + root = pidfile = NULL; pwent = NULL; while((c = getopt(argc, argv, "+hSfu:r:p:")) >= 0) { switch(c) {