summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-05-28 22:40:43 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-05-28 22:40:43 +0000
commit36f77731e42e21a9a0095e729b67a599ffaadf92 (patch)
tree9ca6ff8f26bb95d9920eccc1fae5a6d6cce6dee3
parent429602ee319e8506b090328e00d556dc966b57a3 (diff)
8 spaces -> tab
-rw-r--r--regress/sys/kern/dup2_accept/dup2_accept.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/sys/kern/dup2_accept/dup2_accept.c b/regress/sys/kern/dup2_accept/dup2_accept.c
index 102d2975ef6..402e7a959eb 100644
--- a/regress/sys/kern/dup2_accept/dup2_accept.c
+++ b/regress/sys/kern/dup2_accept/dup2_accept.c
@@ -83,14 +83,14 @@ main(void)
memset(&serv_addr, 0, sizeof(serv_addr));
serv_addr.sin_family = AF_INET;
- serv_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
- serv_addr.sin_port = htons(TEST_PORT);
+ serv_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
+ serv_addr.sin_port = htons(TEST_PORT);
- if (bind(s, (struct sockaddr *)&serv_addr, sizeof(serv_addr)))
+ if (bind(s, (struct sockaddr *)&serv_addr, sizeof(serv_addr)))
err(1, "bind");
- if (listen(s, 3))
- err(1, "listen");
+ if (listen(s, 3))
+ err(1, "listen");
len = sizeof(client_addr);
fd = accept(s, &client_addr, &len);