diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-11-22 14:50:46 +0000 | 
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-11-22 14:50:46 +0000 | 
| commit | d41c0df8f88f0ee230178dfe3f3996af29eed502 (patch) | |
| tree | 32c84eafed4a615e671ed104d71ed78be2e34199 /lib/libfetch/ftp.c | |
| parent | 04a80993c1f42106d48cf9a96a61055d075de637 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/ftp.c')
| -rw-r--r-- | lib/libfetch/ftp.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c index 3e563429c145..ab2c54d503d6 100644 --- a/lib/libfetch/ftp.c +++ b/lib/libfetch/ftp.c @@ -139,7 +139,7 @@ _ftp_chkerr(int cd)  	return -1;      }      if (isftpinfo(last_reply)) { -	while (!isftpreply(last_reply)) { +	while (lr_length && !isftpreply(last_reply)) {  	    if (_fetch_getln(cd, &last_reply, &lr_size, &lr_length) == -1) {  		_fetch_syserr();  		return -1;  | 
