summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2000-06-20 15:36:38 +0000
committerse <se@FreeBSD.org>2000-06-20 15:36:38 +0000
commit2e88041b72b26b70cbf8e6906accfe5fca95c777 (patch)
tree4b772e0d766dddbc09ed3488bf475703a9cdac19 /usr.bin/ftp
parentde6b3245ffecf7bd9fe2441333634e2d2fc423a0 (diff)
downloadFreeBSD-src-2e88041b72b26b70cbf8e6906accfe5fca95c777.zip
FreeBSD-src-2e88041b72b26b70cbf8e6906accfe5fca95c777.tar.gz
Fix obvious cut-n-paste error.
Submitted by: Thomas Ludwig <tludwig@urbanet.ch>
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c
index eb98a97..f38d3b0 100644
--- a/usr.bin/ftp/main.c
+++ b/usr.bin/ftp/main.c
@@ -404,7 +404,7 @@ cmdscanner(top)
if ((buf = el_gets(el, &num)) == NULL || num == 0)
quit(0, 0);
- if (line[--num] == '\n') {
+ if (buf[--num] == '\n') {
if (num == 0)
break;
} else if (num >= sizeof(line)) {
OpenPOWER on IntegriCloud