skip the pid from the logging

This commit is contained in:
Daniel Stenberg 2004-06-15 10:28:56 +00:00
parent daeb143177
commit 0a83fa90bb
2 changed files with 3 additions and 4 deletions

View file

@ -43,8 +43,7 @@ sub logmsg {
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
localtime(time);
open(FTPLOG, ">>log/ftpd.log");
printf FTPLOG ("%02d:%02d:%02d (%d) ",
$hour, $min, $sec, $$);
printf FTPLOG ("%02d:%02d:%02d ", $hour, $min, $sec);
print FTPLOG @_;
close(FTPLOG);
}