~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
peerdb/tripe-newpeers.in: Add support for v4 and v6 address literals.
[tripe]
/
pkstream
/
pkstream.c
diff --git
a/pkstream/pkstream.c
b/pkstream/pkstream.c
index
f03d0ff
..
4e565e0
100644
(file)
--- a/
pkstream/pkstream.c
+++ b/
pkstream/pkstream.c
@@
-436,8
+436,10
@@
int main(int argc, char *argv[])
} else
dofwd(STDIN_FILENO, STDOUT_FILENO);
} else
dofwd(STDIN_FILENO, STDOUT_FILENO);
- for (;;)
- sel_select(&sel);
+ for (;;) {
+ if (sel_select(&sel) && errno != EINTR)
+ die(1, "select failed: %s", strerror(errno));
+ }
return (0);
}
return (0);
}