summaryrefslogtreecommitdiff
path: root/usr.bin/nc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-03-03 06:50:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-03-03 06:50:14 +0000
commit7ea415bc0ccc9633ad7a1a037416a033a7091203 (patch)
treeb1472bc5b9844b3cae378fd94319441ffe9de0ab /usr.bin/nc
parent132653d44fecac625c0104cb526eb97046eb5777 (diff)
spaces, was reading code..
Diffstat (limited to 'usr.bin/nc')
-rw-r--r--usr.bin/nc/netcat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c
index d6d3a2cffe1..f62612ad95e 100644
--- a/usr.bin/nc/netcat.c
+++ b/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.69 2004/03/03 06:45:54 tedu Exp $ */
+/* $OpenBSD: netcat.c,v 1.70 2004/03/03 06:50:13 deraadt Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -168,7 +168,7 @@ main(int argc, char *argv[])
case 'v':
vflag = 1;
break;
- case 'w':
+ case 'w':
timeout = (int)strtoul(optarg, &endp, 10);
if (timeout < 0 || *endp != '\0')
errx(1, "timeout cannot be negative");
@@ -522,7 +522,7 @@ local_listen(char *host, char *port, struct addrinfo hints)
hints.ai_family = AF_INET;
if ((error = getaddrinfo(host, port, &hints, &res)))
- errx(1, "getaddrinfo: %s", gai_strerror(error));
+ errx(1, "getaddrinfo: %s", gai_strerror(error));
res0 = res;
do {
@@ -615,7 +615,7 @@ readwrite(int nfd)
pfd[1].fd = -1;
pfd[1].events = 0;
} else {
- if((ret = atomicio(
+ if ((ret = atomicio(
(ssize_t (*)(int, void *, size_t))write,
nfd, buf, n)) != n)
return;