diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
| commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
| tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /usr.bin/ftp/ftp.c | |
| parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) | |
Diffstat (limited to 'usr.bin/ftp/ftp.c')
| -rw-r--r-- | usr.bin/ftp/ftp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c index a1e49a3e3f13d..1378be4b188d8 100644 --- a/usr.bin/ftp/ftp.c +++ b/usr.bin/ftp/ftp.c @@ -1,4 +1,4 @@ -/* $Id: ftp.c,v 1.14 1998/07/26 18:49:36 imp Exp $ */ +/* $Id: ftp.c,v 1.13 1998/06/09 04:30:51 imp Exp $ */ /* $NetBSD: ftp.c,v 1.29.2.1 1997/11/18 01:01:04 mellon Exp $ */ /* @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)ftp.c 8.6 (Berkeley) 10/27/94"; #else -__RCSID("$Id: ftp.c,v 1.14 1998/07/26 18:49:36 imp Exp $"); +__RCSID("$Id: ftp.c,v 1.13 1998/06/09 04:30:51 imp Exp $"); __RCSID_SOURCE("$NetBSD: ftp.c,v 1.29.2.1 1997/11/18 01:01:04 mellon Exp $"); #endif #endif /* not lint */ @@ -333,8 +333,7 @@ getreply(expecteof) if (dig > 4 && pflag == 1 && isdigit((unsigned char)c)) pflag = 2; if (pflag == 2) { - if (c != '\r' && c != ')' && - pt < &pasv[sizeof(pasv)-1]) + if (c != '\r' && c != ')') *pt++ = c; else { *pt = '\0'; |
