Introduction
Introduction Statistics Contact Development Disclaimer Help
remove unused variables and unneeded include - teed - A multiplex relay tee(1) …
git clone git://bitreich.org/teed git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d…
Log
Files
Refs
Tags
README
LICENSE
---
commit acaa427d4d4fa8e8ce6e626e94ec922d50316ee7
parent b79b790fed08bd18a0979c5d94f039dd64d55f5a
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 12 Aug 2023 20:27:55 +0200
remove unused variables and unneeded include
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
M teed.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/teed.c b/teed.c
@@ -9,7 +9,6 @@
#include <string.h>
#include <sys/socket.h>
#include <sys/un.h>
-#include <sys/types.h>
#include <signal.h>
#include <errno.h>
#include <sys/stat.h>
@@ -153,11 +152,11 @@ initsignals(void)
int
main(int argc, char *argv[])
{
- int on, i, maxsfd, afd, rval, j, recvl,
+ int on, i, maxsfd, afd, rval, recvl,
sendl, sent, lfd;
struct sockaddr_un saddrs[2], clt;
char *bindpaths[2] = {"in", "out"},
- recvbuf[4*1024], *sendbuf,
+ recvbuf[4*1024],
*sendbufi;
llist *wfds, *rfds, *lfds, *e, *qe;
socklen_t saddrlen, cltlen;
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.