projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
INCOMPATIBLE CHANGE. Use proper authentication on encrypted keys.
[u/mdw/catacomb]
/
pixie.c
diff --git
a/pixie.c
b/pixie.c
index
a1d1e2a
..
ba1285a
100644
(file)
--- a/
pixie.c
+++ b/
pixie.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: pixie.c,v 1.1
2 2002/01/13 13:50:42
mdw Exp $
+ * $Id: pixie.c,v 1.1
3 2004/03/21 22:43:05
mdw Exp $
*
* Passphrase pixie for Catacomb
*
*
* Passphrase pixie for Catacomb
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: pixie.c,v $
/*----- 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.
*
* 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 (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;
}
log("new connection failed: %s", strerror(errno));
return;
}