From 8834b3886292b27998c91e83244cf20184186220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Tue, 20 Jun 2000 15:36:38 +0000 Subject: [PATCH] Fix obvious cut-n-paste error. Submitted by: Thomas Ludwig --- usr.bin/ftp/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index eb98a97279d..f38d3b00985 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)) {