X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/5cf2e636595664943d6367c4ee341cbb9fd19ad0..1589affab225db500965e2cb869c534d6860e6bd:/pixie.c diff --git a/pixie.c b/pixie.c index a1d1e2a..ba1285a 100644 --- a/pixie.c +++ b/pixie.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: pixie.c,v 1.12 2002/01/13 13:50:42 mdw Exp $ + * $Id: pixie.c,v 1.13 2004/03/21 22:43:05 mdw Exp $ * * Passphrase pixie for Catacomb * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: pixie.c,v $ + * Revision 1.13 2004/03/21 22:43:05 mdw + * Keep quiet about expected errors on incoming connections. + * * Revision 1.12 2002/01/13 13:50:42 mdw * Various fixes tracking mLib changes. * @@ -902,7 +905,8 @@ static void pixserv_accept(int fd, unsigned mode, void *p) if (mode != SEL_READ) return; if ((nfd = accept(fd, (struct sockaddr *)&sun, &sunsz)) < 0) { - if (verbose) + if (verbose && errno != EAGAIN && errno != EWOULDBLOCK && + errno != ECONNABORTED && errno != EPROTO && errno != EINTR) log("new connection failed: %s", strerror(errno)); return; }