From df2a82509b728174ea0ef9673676155c53b355ac Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 28 May 2005 23:51:03 +0000 Subject: [PATCH] fix mismatched subscript git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2564 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index 09daf682..08828a6c 100644 --- a/src/files.c +++ b/src/files.c @@ -1275,7 +1275,7 @@ void init_backup_dir(void) * write error. */ int copy_file(FILE *inn, FILE *out) { - char buf[MAX_BUF_SIZE]; + char buf[BUFSIZ]; size_t charsread; int retval = 0; -- 2.39.5