summaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-29 14:03:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-29 14:03:03 +0000
commit9347b7093b862f7b1bb3807c8f953d1d0c11a1e7 (patch)
tree0895785eb782620623da47dab8fd0aaae8bed46e /libexec/ftpd
parentebb7ab56cf2b35c85c88bc6a0146b582a8c6a66f (diff)
indent
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpcmd.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index e1a2b1d45d8..4a03e78d77b 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpcmd.y,v 1.19 2000/01/15 05:10:55 ericj Exp $ */
+/* $OpenBSD: ftpcmd.y,v 1.20 2000/04/29 14:03:02 deraadt Exp $ */
/* $NetBSD: ftpcmd.y,v 1.7 1996/04/08 19:03:11 jtc Exp $ */
/*
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94";
#else
-static char rcsid[] = "$OpenBSD: ftpcmd.y,v 1.19 2000/01/15 05:10:55 ericj Exp $";
+static char rcsid[] = "$OpenBSD: ftpcmd.y,v 1.20 2000/04/29 14:03:02 deraadt Exp $";
#endif
#endif /* not lint */
@@ -303,11 +303,11 @@ cmd
if (getaddrinfo(result[1], result[2], &hints, &res))
goto parsefail;
memcpy(&data_dest, res->ai_addr, res->ai_addrlen);
- if (his_addr.su_family == AF_INET6
- && data_dest.su_family == AF_INET6) {
+ if (his_addr.su_family == AF_INET6 &&
+ data_dest.su_family == AF_INET6) {
/* XXX more sanity checks! */
data_dest.su_sin6.sin6_scope_id =
- his_addr.su_sin6.sin6_scope_id;
+ his_addr.su_sin6.sin6_scope_id;
}
free(tmp);
tmp = NULL;
@@ -866,7 +866,7 @@ host_long_port6
if (his_addr.su_family == AF_INET6) {
/* XXX more sanity checks! */
data_dest.su_sin6.sin6_scope_id =
- his_addr.su_sin6.sin6_scope_id;
+ his_addr.su_sin6.sin6_scope_id;
}
$$ = 0;