Wouter de Jong writes:

Is there anyone who can confirm this ? I hope this is a couriertcpd 'bug' (big word :)) and not something I can do anything about :)

That's not a bug, this is the bug:

Index: tcpd/tcpd.c
===================================================================
RCS file: /cvsroot/courier/libs/tcpd/tcpd.c,v
retrieving revision 1.34
diff -U3 -r1.34 tcpd.c
--- tcpd/tcpd.c 5 Jan 2003 04:01:18 -0000       1.34
+++ tcpd/tcpd.c 30 Jun 2003 14:30:28 -0000
@@ -404,7 +404,7 @@

        if (sox_bind(fd, (struct sockaddr *)sinaddr, sinaddrlen) < 0)
        {
-               if (flags && MKS_ERROK)
+               if (flags & MKS_ERROK)
                {
                        close(fd);
                        return (-2);


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to