Commit a0fe950b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

add more info to the log to ease debugging

parent 44985e88
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -142,9 +142,11 @@ startsf();

logmsg sprintf("FTP server started on port IPv%d/$port\n", $ipv6?6:4);
open(PID, ">$pidfile");
print PID $$;
print PID $$."\n";
close(PID);

logmsg("logged pid $$ in $pidfile\n");

sub sockfilt {
    my $l;
    foreach $l (@_) {