chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New environment variable TRIPESOCK.
[tripe]
/
pkstream
/
pkstream.c
diff --git
a/pkstream/pkstream.c
b/pkstream/pkstream.c
index e291a9bd446850728343f95945f49c16a111b1e1..6e36adc2a945f883b9348e4296cde8231771e02f 100644
(file)
--- a/
pkstream/pkstream.c
+++ b/
pkstream/pkstream.c
@@
-89,14
+89,10
@@
static size_t pk_nmax = 128, pk_szmax = 1024 * 1024;
/*----- Main code ---------------------------------------------------------*/
static int nonblockify(int fd)
/*----- Main code ---------------------------------------------------------*/
static int nonblockify(int fd)
-{
- return (fdflags(fd, O_NONBLOCK, O_NONBLOCK, 0, 0));
-}
+ { return (fdflags(fd, O_NONBLOCK, O_NONBLOCK, 0, 0)); }
static int cloexec(int fd)
static int cloexec(int fd)
-{
- return (fdflags(fd, 0, 0, FD_CLOEXEC, FD_CLOEXEC));
-}
+ { return (fdflags(fd, 0, 0, FD_CLOEXEC, FD_CLOEXEC)); }
static void dolisten(void);
static void dolisten(void);
@@
-318,9
+314,7
@@
static void usage(FILE *fp)
}
static void version(FILE *fp)
}
static void version(FILE *fp)
-{
- pquis(fp, "$, tripe version " VERSION "\n");
-}
+ { pquis(fp, "$, tripe version " VERSION "\n"); }
static void help(FILE *fp)
{
static void help(FILE *fp)
{