From: David Lawrence Ramsey Date: Sat, 28 May 2005 23:51:03 +0000 (+0000) Subject: fix mismatched subscript X-Git-Tag: v1.3.8~239 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=df2a82509b728174ea0ef9673676155c53b355ac;p=nano.git fix mismatched subscript git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2564 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;