mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:04:15 +03:00
add more info to the log to ease debugging
This commit is contained in:
parent
44985e8884
commit
a0fe950b75
1 changed files with 3 additions and 1 deletions
|
|
@ -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 (@_) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue