summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.txt1
-rw-r--r--src/common/grfio.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt
index e29af9d08..f48c06ecf 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,6 +1,7 @@
Date Added
02/05
+ * increased the max_files allowed in a grf [1054: MouseJstr]
* Changed the way char deletion works for SQL [1051: Ajarn]
- If the email the client fails check then check if the
email is blank and the DB email is a@a.com (default)
diff --git a/src/common/grfio.c b/src/common/grfio.c
index 5453a4b5d..2d47ff4e4 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -96,7 +96,7 @@ typedef struct {
//Since char defines *FILELIST.gentry, the maximum which can be added by grfio_add becomes by 127 pieces.
#define GENTRY_LIMIT 127
-#define FILELIST_LIMIT 32768 // temporary maximum, and a theory top maximum are 2G.
+#define FILELIST_LIMIT 65536 // temporary maximum, and a theory top maximum are 2G.
static FILELIST *filelist;
static int filelist_entrys;