htparser: Fixed pidfile initialization bug.
[ashd.git] / src / htparser.c
index b7435b9..e281abd 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) {