]> www.dolda2000.com Git - ashd.git/commitdiff
htparser: Fixed pidfile initialization bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Sat, 15 May 2021 01:33:27 +0000 (03:33 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sat, 15 May 2021 01:33:27 +0000 (03:33 +0200)
src/htparser.c

index b7435b9be18972793a43e1bc6cea753f7450d1a0..e281abd85701d9b11bea7e9aa7bd9323b6b0d2ff 100644 (file)
@@ -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) {