summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-12-30 22:01:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-12-30 22:01:25 +0000
commit0c9b35fa9b3c6c31be21518f819ae52e7ef615c5 (patch)
tree399f3d76c5e531213c461e93e43b78b423635a76
parent0fb8c365fd07b69a215134efdd2e31800a1e2f1f (diff)
indent
-rw-r--r--libexec/ftpd/ftpd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 00cc3634279..b8b74512ccc 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.51 1998/12/29 07:00:58 deraadt Exp $ */
+/* $OpenBSD: ftpd.c,v 1.52 1998/12/30 22:01:24 deraadt Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -483,16 +483,16 @@ main(argc, argv, envp)
/* Make sure hostname is fully qualified. */
hp = gethostbyname(hostname);
if (hp != NULL)
- strcpy (hostname, hp->h_name);
+ strcpy(hostname, hp->h_name);
if (multihome) {
hp = gethostbyaddr((char *) &ctrl_addr.sin_addr,
- sizeof (struct in_addr), AF_INET);
+ sizeof (struct in_addr), AF_INET);
if (hp != NULL) {
- strcpy (dhostname, hp->h_name);
+ strcpy(dhostname, hp->h_name);
} else {
/* Default. */
- strcpy (dhostname, inet_ntoa(ctrl_addr.sin_addr));
+ strcpy(dhostname, inet_ntoa(ctrl_addr.sin_addr));
}
}
@@ -827,14 +827,14 @@ skip:
struct stat ts;
/* Compute root directory. */
- snprintf (rootdir, sizeof(rootdir), "%s/%s",
+ snprintf(rootdir, sizeof(rootdir), "%s/%s",
pw->pw_dir, dhostname);
if (stat(rootdir, &ts) < 0) {
- snprintf (rootdir, sizeof(rootdir), "%s/%s",
+ snprintf(rootdir, sizeof(rootdir), "%s/%s",
pw->pw_dir, hostname);
}
} else
- strcpy (rootdir, pw->pw_dir);
+ strcpy(rootdir, pw->pw_dir);
}
if (guest) {
/*