Get forkserver working again

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@595 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Matt Sergeant 2005-12-30 20:03:22 +00:00
parent 99e0455fa4
commit e440b7bd65

View File

@ -45,8 +45,7 @@ EOT
exit 0;
}
GetOptions('h|help' => \&usage,
'l|listen-address=s' => \@LOCALADDR,
GetOptions('l|listen-address=s' => \@LOCALADDR,
'c|limit-connections=i' => \$MAXCONN,
'm|max-from-ip=i' => \$MAXCONNIP,
'p|port=i' => \$PORT,
@ -139,7 +138,7 @@ if ($PID_FILE) {
}
# Load plugins here
my $qpsmtpd = Qpsmtpd::PollServer->new();
my $qpsmtpd = bless {},'Qpsmtpd'; # ugh - probably should have new() in Qpsmtpd.pm
# Drop privileges
my (undef, undef, $quid, $qgid) = getpwnam $USER or