diff options
author | imp <imp@cvs.openbsd.org> | 1996-10-25 23:59:19 +0000 |
---|---|---|
committer | imp <imp@cvs.openbsd.org> | 1996-10-25 23:59:19 +0000 |
commit | 615bc492b48132dba2c7b43b1018d3cce385c266 (patch) | |
tree | ec9efb1e6f4ae227872652cc323924e6e2164126 /libexec/ftpd | |
parent | dfd3b30bca922943342363940019841955011e3d (diff) |
Spacing nits
Diffstat (limited to 'libexec/ftpd')
-rw-r--r-- | libexec/ftpd/popen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c index 263d5ed4be1..0bd62a96d7b 100644 --- a/libexec/ftpd/popen.c +++ b/libexec/ftpd/popen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: popen.c,v 1.6 1996/10/25 23:37:01 imp Exp $ */ +/* $OpenBSD: popen.c,v 1.7 1996/10/25 23:59:18 imp Exp $ */ /* $NetBSD: popen.c,v 1.5 1995/04/11 02:45:00 cgd Exp $ */ /* @@ -94,10 +94,10 @@ ftpd_popen(program, type) return (NULL); /* break up string into pieces */ - for (argc = 0, cp = program;argc < MAX_ARGV - 1; cp = NULL) + for (argc = 0, cp = program;argc < MAX_ARGV-1; cp = NULL) if (!(argv[argc++] = strtok(cp, " \t\n"))) break; - argv[ MAX_ARGV - 1 ] = NULL; + argv[MAX_ARGV-1] = NULL; /* glob each piece */ gargv[0] = argv[0]; @@ -107,10 +107,10 @@ ftpd_popen(program, type) memset(&gl, 0, sizeof(gl)); if (glob(argv[argc], flags, NULL, &gl)) { - if (gargc < MAX_GARGV - 1) + if (gargc < MAX_GARGV-1) gargv[gargc++] = strdup(argv[argc]); } else - for (pop = gl.gl_pathv; *pop && gargc < MAX_GARGV - 1; pop++) + for (pop = gl.gl_pathv; *pop && gargc < MAX_GARGV-1; pop++) gargv[gargc++] = strdup(*pop); globfree(&gl); } |