On Mon, 29 Dec 2008 16:43:57 +0000 (GMT)
Hans Salvisberg <salvi...@yahoo.de> wrote:
> Hanno Hecker wrote:
> > > What am I doing wrong?
> > Nothing .)
>
> Thanks for restoring my sanity!
> I'll be happy to test the updated trunk. Sorry to come in so late in the
> cycle...
This is a quick fix. I'm not sure if we solve it this way in SVN, but
it fixes the seen error :)
Hanno
Index: qpsmtpd
===================================================================
--- qpsmtpd (revision 960)
+++ qpsmtpd (working copy)
@@ -21,10 +21,12 @@
my $qpsmtpd = Qpsmtpd::TcpServer->new();
$qpsmtpd->load_plugins();
$qpsmtpd->start_connection();
-$qpsmtpd->run();
+$qpsmtpd->run(\*STDIN);
$qpsmtpd->run_hooks("post-connection");
$qpsmtpd->connection->reset;
+sub IO::Handle::connected { return getpeername(shift) }
+
__END__