diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-29 07:35:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-29 07:35:49 +0000 |
commit | a781670ba40b7685965bffb5cc9794be8e8d142e (patch) | |
tree | 3adb3ada889e2fcb7ba6c0dc6f20f4c8f927477e /libexec/ftpd/popen.c | |
parent | 83a802c8d5b78c6a50afc57d91fcf0e291359906 (diff) |
partial Wall
Diffstat (limited to 'libexec/ftpd/popen.c')
-rw-r--r-- | libexec/ftpd/popen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c index 1d67f02d9f4..f7f89ceaa74 100644 --- a/libexec/ftpd/popen.c +++ b/libexec/ftpd/popen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: popen.c,v 1.8 1996/12/07 10:52:06 bitblt Exp $ */ +/* $OpenBSD: popen.c,v 1.9 1997/06/29 07:35:48 deraadt Exp $ */ /* $NetBSD: popen.c,v 1.5 1995/04/11 02:45:00 cgd Exp $ */ /* @@ -80,7 +80,7 @@ ftpd_popen(program, type) int argc, gargc, pdes[2], pid; char **pop, *argv[MAX_ARGV], *gargv[MAX_GARGV]; - if (*type != 'r' && *type != 'w' || type[1]) + if ((*type != 'r' && *type != 'w') || type[1]) return (NULL); if (!pids) { @@ -170,7 +170,7 @@ int ftpd_pclose(iop) FILE *iop; { - int fdes, omask, status; + int fdes, status; pid_t pid; sigset_t sigset, osigset; |