]> git.wh0rd.org Git - nano.git/commitdiff
fix mismatched subscript
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 28 May 2005 23:51:03 +0000 (23:51 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 28 May 2005 23:51:03 +0000 (23:51 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2564 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/files.c

index 09daf682c558793231ef7d972724719ff902b1df..08828a6c3d4a86a121f445ab547b3bf3d45bc535 100644 (file)
@@ -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;